Sha256: dd86cffbd82409abcaedb42d1248f0891c49837b0f31b0a50fd60f7bd937e1fe
Contents?: true
Size: 973 Bytes
Versions: 8
Compression:
Stored size: 973 Bytes
Contents
require "spec_helper" describe Asciidoctor::RFC::V3::Converter do it "renders links" do expect(Asciidoctor.convert(<<~'INPUT', backend: :rfc3, header_footer: true)).to be_equivalent_to <<~'OUTPUT' = Document title :docName: Author :link: http://www.example.com,urn:issn:99999999 item == Section 1 text INPUT <?xml version="1.0" encoding="US-ASCII"?> <!DOCTYPE rfc SYSTEM "rfc2629.dtd"> <rfc prepTime="2000-01-01T05:00:00Z" version="3" submissionType="IETF"> <link href="http://www.example.com"/> <link href="urn:issn:99999999" rel="item"/> <front> <title>Document title</title> <author fullname="Author"> </author> <date day="1" month="January" year="2000"/> </front><middle> <section anchor="_section_1" numbered="false"> <name>Section 1</name> <t>text</t> </section> </middle> </rfc> OUTPUT end end
Version data entries
8 entries across 8 versions & 1 rubygems