asciidoctor 1.5.8 → 2.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +11 -0
  3. data/CHANGELOG.adoc +628 -45
  4. data/LICENSE +2 -1
  5. data/README-de.adoc +28 -38
  6. data/README-fr.adoc +30 -43
  7. data/README-jp.adoc +255 -201
  8. data/README-zh_CN.adoc +40 -44
  9. data/README.adoc +170 -143
  10. data/asciidoctor.gemspec +22 -34
  11. data/bin/asciidoctor +5 -4
  12. data/data/locale/attributes-ar.adoc +4 -3
  13. data/data/locale/attributes-be.adoc +23 -0
  14. data/data/locale/attributes-bg.adoc +4 -3
  15. data/data/locale/attributes-ca.adoc +6 -5
  16. data/data/locale/attributes-cs.adoc +4 -3
  17. data/data/locale/attributes-da.adoc +6 -5
  18. data/data/locale/attributes-de.adoc +6 -5
  19. data/data/locale/attributes-en.adoc +4 -4
  20. data/data/locale/attributes-es.adoc +6 -5
  21. data/data/locale/attributes-fa.adoc +4 -3
  22. data/data/locale/attributes-fi.adoc +4 -3
  23. data/data/locale/attributes-fr.adoc +8 -7
  24. data/data/locale/attributes-hu.adoc +4 -3
  25. data/data/locale/attributes-id.adoc +4 -3
  26. data/data/locale/attributes-it.adoc +6 -5
  27. data/data/locale/attributes-ja.adoc +4 -3
  28. data/data/locale/{attributes-kr.adoc → attributes-ko.adoc} +4 -3
  29. data/data/locale/attributes-nb.adoc +4 -3
  30. data/data/locale/attributes-nl.adoc +6 -5
  31. data/data/locale/attributes-nn.adoc +4 -3
  32. data/data/locale/attributes-pl.adoc +8 -7
  33. data/data/locale/attributes-pt.adoc +6 -5
  34. data/data/locale/attributes-pt_BR.adoc +6 -5
  35. data/data/locale/attributes-ro.adoc +4 -3
  36. data/data/locale/attributes-ru.adoc +6 -5
  37. data/data/locale/attributes-sr.adoc +4 -4
  38. data/data/locale/attributes-sr_Latn.adoc +4 -4
  39. data/data/locale/attributes-sv.adoc +4 -4
  40. data/data/locale/attributes-th.adoc +23 -0
  41. data/data/locale/attributes-tr.adoc +4 -3
  42. data/data/locale/attributes-uk.adoc +6 -5
  43. data/data/locale/attributes-vi.adoc +23 -0
  44. data/data/locale/attributes-zh_CN.adoc +4 -3
  45. data/data/locale/attributes-zh_TW.adoc +4 -3
  46. data/data/reference/syntax.adoc +296 -0
  47. data/data/stylesheets/asciidoctor-default.css +120 -114
  48. data/data/stylesheets/coderay-asciidoctor.css +15 -17
  49. data/lib/asciidoctor/abstract_block.rb +146 -140
  50. data/lib/asciidoctor/abstract_node.rb +152 -170
  51. data/lib/asciidoctor/attribute_list.rb +77 -89
  52. data/lib/asciidoctor/block.rb +29 -28
  53. data/lib/asciidoctor/callouts.rb +4 -2
  54. data/lib/asciidoctor/cli/invoker.rb +20 -24
  55. data/lib/asciidoctor/cli/options.rb +107 -96
  56. data/lib/asciidoctor/cli.rb +3 -2
  57. data/lib/asciidoctor/convert.rb +199 -0
  58. data/lib/asciidoctor/converter/composite.rb +40 -48
  59. data/lib/asciidoctor/converter/docbook5.rb +627 -644
  60. data/lib/asciidoctor/converter/html5.rb +1053 -951
  61. data/lib/asciidoctor/converter/manpage.rb +581 -532
  62. data/lib/asciidoctor/converter/template.rb +232 -271
  63. data/lib/asciidoctor/converter.rb +370 -185
  64. data/lib/asciidoctor/core_ext/float/truncate.rb +20 -0
  65. data/lib/asciidoctor/core_ext/hash/merge.rb +8 -0
  66. data/lib/asciidoctor/core_ext/match_data/names.rb +7 -0
  67. data/lib/asciidoctor/core_ext/nil_or_empty.rb +1 -0
  68. data/lib/asciidoctor/core_ext/regexp/is_match.rb +4 -2
  69. data/lib/asciidoctor/core_ext.rb +8 -17
  70. data/lib/asciidoctor/document.rb +503 -461
  71. data/lib/asciidoctor/extensions.rb +127 -174
  72. data/lib/asciidoctor/helpers.rb +184 -107
  73. data/lib/asciidoctor/inline.rb +9 -12
  74. data/lib/asciidoctor/list.rb +11 -29
  75. data/lib/asciidoctor/load.rb +119 -0
  76. data/lib/asciidoctor/logging.rb +22 -17
  77. data/lib/asciidoctor/parser.rb +673 -719
  78. data/lib/asciidoctor/path_resolver.rb +48 -33
  79. data/lib/asciidoctor/reader.rb +383 -338
  80. data/lib/asciidoctor/rouge_ext.rb +39 -0
  81. data/lib/asciidoctor/rx.rb +723 -0
  82. data/lib/asciidoctor/section.rb +17 -16
  83. data/lib/asciidoctor/stylesheets.rb +19 -37
  84. data/lib/asciidoctor/substitutors.rb +926 -1022
  85. data/lib/asciidoctor/syntax_highlighter/coderay.rb +88 -0
  86. data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +34 -0
  87. data/lib/asciidoctor/syntax_highlighter/html_pipeline.rb +10 -0
  88. data/lib/asciidoctor/syntax_highlighter/prettify.rb +30 -0
  89. data/lib/asciidoctor/syntax_highlighter/pygments.rb +157 -0
  90. data/lib/asciidoctor/syntax_highlighter/rouge.rb +143 -0
  91. data/lib/asciidoctor/syntax_highlighter.rb +253 -0
  92. data/lib/asciidoctor/table.rb +152 -114
  93. data/lib/asciidoctor/timings.rb +7 -5
  94. data/lib/asciidoctor/version.rb +2 -1
  95. data/lib/asciidoctor/writer.rb +30 -0
  96. data/lib/asciidoctor.rb +266 -1340
  97. data/man/asciidoctor.1 +49 -47
  98. data/man/asciidoctor.adoc +54 -45
  99. metadata +50 -245
  100. data/CONTRIBUTING.adoc +0 -185
  101. data/Gemfile +0 -60
  102. data/Rakefile +0 -129
  103. data/bin/asciidoctor-safe +0 -15
  104. data/features/open_block.feature +0 -92
  105. data/features/pass_block.feature +0 -66
  106. data/features/step_definitions.rb +0 -49
  107. data/features/text_formatting.feature +0 -57
  108. data/features/xref.feature +0 -1039
  109. data/lib/asciidoctor/converter/base.rb +0 -59
  110. data/lib/asciidoctor/converter/docbook45.rb +0 -93
  111. data/lib/asciidoctor/converter/factory.rb +0 -226
  112. data/lib/asciidoctor/core_ext/1.8.7/base64/strict_encode64.rb +0 -6
  113. data/lib/asciidoctor/core_ext/1.8.7/concurrent/hash.rb +0 -5
  114. data/lib/asciidoctor/core_ext/1.8.7/hash/key.rb +0 -4
  115. data/lib/asciidoctor/core_ext/1.8.7/io/binread.rb +0 -6
  116. data/lib/asciidoctor/core_ext/1.8.7/io/write.rb +0 -5
  117. data/lib/asciidoctor/core_ext/1.8.7/string/chr.rb +0 -6
  118. data/lib/asciidoctor/core_ext/1.8.7/string/limit_bytesize.rb +0 -29
  119. data/lib/asciidoctor/core_ext/1.8.7/symbol/empty.rb +0 -6
  120. data/lib/asciidoctor/core_ext/1.8.7/symbol/length.rb +0 -6
  121. data/lib/asciidoctor/core_ext/string/limit_bytesize.rb +0 -10
  122. data/test/api_test.rb +0 -1240
  123. data/test/attribute_list_test.rb +0 -242
  124. data/test/attributes_test.rb +0 -1623
  125. data/test/blocks_test.rb +0 -3870
  126. data/test/converter_test.rb +0 -470
  127. data/test/document_test.rb +0 -1853
  128. data/test/extensions_test.rb +0 -1560
  129. data/test/fixtures/asciidoc_index.txt +0 -521
  130. data/test/fixtures/basic-docinfo-footer.html +0 -6
  131. data/test/fixtures/basic-docinfo-footer.xml +0 -8
  132. data/test/fixtures/basic-docinfo.html +0 -1
  133. data/test/fixtures/basic-docinfo.xml +0 -4
  134. data/test/fixtures/basic.asciidoc +0 -5
  135. data/test/fixtures/chapter-a.adoc +0 -3
  136. data/test/fixtures/child-include.adoc +0 -5
  137. data/test/fixtures/circle.svg +0 -9
  138. data/test/fixtures/custom-backends/erb/html5/block_paragraph.html.erb +0 -6
  139. data/test/fixtures/custom-backends/haml/docbook45/block_paragraph.xml.haml +0 -6
  140. data/test/fixtures/custom-backends/haml/html5/block_paragraph.html.haml +0 -3
  141. data/test/fixtures/custom-backends/haml/html5/block_sidebar.html.haml +0 -5
  142. data/test/fixtures/custom-backends/haml/html5-tweaks/block_paragraph.html.haml +0 -1
  143. data/test/fixtures/custom-backends/slim/docbook45/block_paragraph.xml.slim +0 -6
  144. data/test/fixtures/custom-backends/slim/html5/block_paragraph.html.slim +0 -3
  145. data/test/fixtures/custom-backends/slim/html5/block_sidebar.html.slim +0 -5
  146. data/test/fixtures/custom-docinfodir/basic-docinfo.html +0 -1
  147. data/test/fixtures/custom-docinfodir/docinfo.html +0 -1
  148. data/test/fixtures/docinfo-footer.html +0 -1
  149. data/test/fixtures/docinfo-footer.xml +0 -9
  150. data/test/fixtures/docinfo.html +0 -1
  151. data/test/fixtures/docinfo.xml +0 -3
  152. data/test/fixtures/doctime-localtime.adoc +0 -2
  153. data/test/fixtures/dot.gif +0 -0
  154. data/test/fixtures/encoding.asciidoc +0 -13
  155. data/test/fixtures/file-with-missing-include.adoc +0 -1
  156. data/test/fixtures/grandchild-include.adoc +0 -3
  157. data/test/fixtures/hello-asciidoctor.pdf +0 -69
  158. data/test/fixtures/include-file.asciidoc +0 -24
  159. data/test/fixtures/include-file.jsx +0 -8
  160. data/test/fixtures/include-file.ml +0 -3
  161. data/test/fixtures/include-file.xml +0 -5
  162. data/test/fixtures/lists.adoc +0 -96
  163. data/test/fixtures/master.adoc +0 -5
  164. data/test/fixtures/mismatched-end-tag.adoc +0 -7
  165. data/test/fixtures/other-chapters.adoc +0 -11
  166. data/test/fixtures/outer-include.adoc +0 -5
  167. data/test/fixtures/parent-include-restricted.adoc +0 -5
  168. data/test/fixtures/parent-include.adoc +0 -5
  169. data/test/fixtures/sample.asciidoc +0 -30
  170. data/test/fixtures/section-a.adoc +0 -4
  171. data/test/fixtures/stylesheets/custom.css +0 -3
  172. data/test/fixtures/subdir/index.adoc +0 -3
  173. data/test/fixtures/subdir/inner-include.adoc +0 -3
  174. data/test/fixtures/subdir/middle-include.adoc +0 -5
  175. data/test/fixtures/subs-docinfo.html +0 -2
  176. data/test/fixtures/subs.adoc +0 -6
  177. data/test/fixtures/tagged-class-enclosed.rb +0 -25
  178. data/test/fixtures/tagged-class.rb +0 -23
  179. data/test/fixtures/tip.gif +0 -0
  180. data/test/fixtures/unclosed-tag.adoc +0 -3
  181. data/test/fixtures/unexpected-end-tag.adoc +0 -4
  182. data/test/invoker_test.rb +0 -745
  183. data/test/links_test.rb +0 -855
  184. data/test/lists_test.rb +0 -5151
  185. data/test/logger_test.rb +0 -211
  186. data/test/manpage_test.rb +0 -660
  187. data/test/options_test.rb +0 -262
  188. data/test/paragraphs_test.rb +0 -562
  189. data/test/parser_test.rb +0 -742
  190. data/test/paths_test.rb +0 -395
  191. data/test/preamble_test.rb +0 -173
  192. data/test/reader_test.rb +0 -2161
  193. data/test/sections_test.rb +0 -3575
  194. data/test/substitutions_test.rb +0 -2066
  195. data/test/tables_test.rb +0 -2036
  196. data/test/test_helper.rb +0 -447
  197. data/test/text_test.rb +0 -309
data/CHANGELOG.adoc CHANGED
@@ -1,5 +1,5 @@
1
1
  = Asciidoctor Changelog
2
- :uri-asciidoctor: http://asciidoctor.org
2
+ :uri-asciidoctor: https://asciidoctor.org
3
3
  :uri-asciidoc: {uri-asciidoctor}/docs/what-is-asciidoc
4
4
  :uri-repo: https://github.com/asciidoctor/asciidoctor
5
5
  :icons: font
@@ -8,10 +8,569 @@ ifndef::icons[]
8
8
  :star: ★
9
9
  endif::[]
10
10
 
11
- {uri-asciidoctor}[Asciidoctor] is a _fast_, open source text processor and publishing toolchain for converting {uri-asciidoc}[AsciiDoc] content into HTML5, DocBook 5 (or 4.5) and other formats.
11
+ {uri-asciidoctor}[Asciidoctor] is a _fast_, open source text processor and publishing toolchain for converting {uri-asciidoc}[AsciiDoc] content into HTML 5, DocBook 5, and other formats.
12
12
 
13
13
  This document provides a high-level view of the changes introduced in Asciidoctor by release.
14
- For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.
14
+ For an even more detailed look at what has changed, refer to the {uri-repo}/commits/[commit history] on GitHub.
15
+
16
+ This project utilizes semantic versioning.
17
+
18
+ // tag::compact[]
19
+ == 2.0.17 (2022-01-05) - @mojavelinux
20
+
21
+ Bug Fixes::
22
+
23
+ * Don't crash if process method for custom block returns an abstract block with context `:compound` that isn't of type `Block` (e.g., a list)
24
+ * Ignore return value of process method for custom block or block macro if value matches parent argument
25
+ * Remove unnamespaced selectors in Pygments stylesheet
26
+ * Normalize output from Pygments to use `linenos` class for inline line numbering and trim space after number; update default stylesheet accordingly
27
+ * Change `AbstractBlock#sections?` to return false when called on block that isn't a Section or Document (PR #3591) *@mogztter*
28
+ * Hide built-in marker on HTML summary element in Safari when using default stylesheet (#4162)
29
+ * Hide outline around HTML summary when activated in Safari (#4162)
30
+ * Include primary video in value of `playlist` attribute when embeddding YouTube video (#4156)
31
+ * Honor stripes=none on nested table (#4165)
32
+ * Update default stylesheet to fix spacing around empty list item (#4184)
33
+ * Honor `:header_only` option when parsing document with manpage doctype (#4192)
34
+ * Use numeric character reference for closing square bracket around alt text of icon
35
+ * Process author or authors document attribute in document header when implicit doctitle is absent (#4206)
36
+ * Patch open-uri-cached gem to work with Ruby 3.1 (update: drop patch now that open-uri-cached has been fixed) (#4227)
37
+
38
+ Improvements::
39
+
40
+ * Prevent line numbers on source blocks in HTML output from being selected (applies to pygments and coderay) (#4128)
41
+ * Allow hash to be specified for Vimeo video either in video ID or using `hash` attribute (#4176)
42
+ * Remove unnecessary specificity in default stylesheet for styling p element inside list item
43
+ * Remove obsolete gist embed styles from default stylesheet
44
+ * Allow `--failure-level` to be set to default value, `FATAL`
45
+ * Sort levels in help for `--failure-level` option in ascending order
46
+ * Invert FR translations for caution & warning admonition labels (#4212) (*cyChop*)
47
+ * Add tests for open-uri-cached integration that is activated by the `cache-uri` attribute
48
+ * Don't warn if negated tag is not found in include file (#4230)
49
+
50
+ Documentation::
51
+
52
+ * Document how to extend an existing converter or create a new converter (#4136)
53
+ * Document the syntax topic of the `--help` CLI option (#4175)
54
+ * Document how to uninstall the Asciidoctor gem (#4154)
55
+ * Document how to enable and use the sourcemap (the `:sourcemap` option)
56
+ * Document how to catalog additional assets (the `:catalog_assets` option)
57
+
58
+ // end::compact[]
59
+ == 2.0.16 (2021-08-03) - @mojavelinux
60
+
61
+ Bug Fixes::
62
+
63
+ * Include all lines outside of specified tagged region when tag filter on include directive is a single negated tag (#4048)
64
+ * Only interpret negated wildcard in tag filter on include directive as implicit globstar if it precedes other tags (#4086)
65
+ * Change ifeval directive to resolve to false if comparison operation cannot be performed (#4046)
66
+ * Don't crash if `:to_file` option is passed to `load` or `load_file` and value is not a string (#4055)
67
+ * Use automatic link text if ID in shorthand xref is followed by dangling comma (e.g., `+<<idname,>>+`)
68
+ * Update default stylesheet to indent blocks attached to list item in checklist (#2550)
69
+ * Update default stylesheet to re-enable styling of implicit lead role on first paragraph of preamble inside AsciiDoc table cell
70
+ * Update default stylesheet to fix conflict between text decoration and bottom border on abbr[title] element
71
+ * Change invalid font family "sans" in default stylesheet to "sans-serif"
72
+ * Fix missing automatic reftext for internal xrefs in manpage output (#4110)
73
+ * Replace numeric character reference for plus in manpage output (#4059)
74
+ * Replace numeric character reference for degree sign in manpage output (#4059)
75
+ * Convert apostrophe to the portable `+\*(Aq+` variable instead of the groff-specific escape `\(aq` (#4060) (*@felipec*)
76
+ * Document the `-e, --embedded` option flag in the man page, which replaces the outdated `-e, --eruby` option flag
77
+
78
+ Improvements::
79
+
80
+ * Use queue to iterate over lines in reader instead of stack (#4106)
81
+ * Uppercase automatic reftext for level-2 section titles in manpage output if reftext matches section title (#4110)
82
+ * Show safe modes in strictness order in CLI help (#4065)
83
+ * Remove redundant styles from the default stylesheet
84
+ * Update font styles for summary element in default stylesheet to match font styles of paragraph (#4114)
85
+ * Update default stylesheet to indent content of details element (#4116)
86
+ * Update default stylesheet to use custom marker for summary element to make appearance consistent (#4116)
87
+ * Add Vietnamese translation of built-in attributes (PR #4066) (*@nguyenhoa93*)
88
+ * Add Thai translation of built-in attributes (PR #4113) (*@ammaneena*)
89
+
90
+ Build / Infrastructure::
91
+
92
+ * Import source of default stylesheet into this repository; use PostCSS with cssnano to minify (#4062)
93
+ * Use autoprefixer to manage browser prefixes in default stylesheet (#4118)
94
+
95
+ == 2.0.15 (2021-04-27) - @mojavelinux
96
+
97
+ Bug Fixes::
98
+
99
+ * Don't include trailing period, question mark, or exclamation point in target (URL) of autolink (#3860)
100
+ * Don't assign nil value to named attribute mapped to absent positional attribute when parsing attrlist (#4033)
101
+ * Remove leading and trailing spaces around role on inline phrase (#4035)
102
+ * Ignore empty role on inline phrase defined using legacy syntax and followed by comma (#4035)
103
+ * Use xreftext on document as fallback link text in HTML output for inter-document xref that resolves to current document when no link text is provided (#4032)
104
+ * Use xreftext on document as fallback link text in HTML output for internal xref with empty fragment when no link text is provided (#4032)
105
+ * Use document ID as linkend in DocBook output for internal xref with empty fragment; auto-generating one if necessary (#4032)
106
+
107
+ Improvements::
108
+
109
+ * Format keyboard references in monospace in manpage output
110
+
111
+ Build / Infrastructure::
112
+
113
+ * Get remaining invoker tests working on JRuby 9.1 for Windows
114
+
115
+ == 2.0.14 (2021-04-19) - @mojavelinux
116
+
117
+ Bug Fixes::
118
+
119
+ * Don't allow AsciiDoc table cell to set document attribute that was unset from the API (exceptions include: `compat-mode`, `toc`, `showtitle`, and `notitle`) (#4017)
120
+ * Ensure default document attributes unset in parent document remain unset in AsciiDoc table cell (#2586)
121
+ * Allow the `showtitle` / `notitle` attribute to be toggled in an AsciiDoc table cell if set or unset in parent document (#4018)
122
+ * Ensure mtime of input file honors TZ environment variable on JRuby for Windows (affects value of `docdatetime` attribute) (#3550)
123
+ * Honor caption attribute on blocks that support captioned title even if corresponding `*-caption` document attribute (e.g., `example-caption`) is not set (#4023)
124
+ * Suppress missing attribute warning when applying substitutions to implicit document title for assignment to intrinsic `doctitle` attribute (#4024)
125
+ * Increment counter (but not the corresponding attribute) if attribute is locked (#4013)
126
+
127
+ Improvements::
128
+
129
+ * Use attribute, if set, as seed value for counter even if not already registered as a counter (#4014)
130
+ * Allow subs attribute value on Inline node returned by process method for custom inline macro to be a String (#3938)
131
+ * Allow value of `user-home` attribute to be overridden by API or CLI (#3732)
132
+
133
+ Build / Infrastructure::
134
+
135
+ * Run tests on JRuby for Windows (#3550)
136
+
137
+ == 2.0.13 (2021-04-10) - @mojavelinux
138
+
139
+ Bug Fixes::
140
+
141
+ * Rollback change for #3470, which added logic to remove leading and trailing empty lines in an AsciiDoc include file; instead skip empty lines before processing document header (#3997)
142
+ * Don't allow `counter` and `counter2` attribute directives to override locked attributes (#3939) (*@mogztter*)
143
+ * Fix crash when resolving next value in sequence for counter with non-numeric value (#3940)
144
+ * Honor list of tags following negated wildcard on include directive (#3932)
145
+ * Update default stylesheet to remove dash in front of cite on nested quote block (#3847)
146
+ * Don't mangle formatting macros when uppercasing section titles in man page output (#3892)
147
+ * Don't escape hyphen in `manname` in man page output
148
+ * Remove extra `.sp` line before content of verse block in man page output
149
+ * Fix layout of footnotes in man page output (#3989)
150
+ * Fix formatting of footnote text with URL in man page output (#3988)
151
+ * Remove redundant trailing space on URL followed by non-adjacent text in man page output (#4004)
152
+ * Use `.bp` macro at location of page break in man page output (#3992)
153
+
154
+ Improvements::
155
+
156
+ * Extract method to create lexer and formatter in Rouge adapter (#3953) (*@Oblomov*)
157
+ * Add support for pygments.rb 2.x (#3969) (*@slonopotamus*)
158
+ * Allow `NullLogger` to be enabled by setting the `:logger` option to a falsy value (#3982)
159
+ * Substitute attributes in manpurpose part of NAME section in manpage doctype (#4000)
160
+ * Output all mannames in name section of HTML output for manpage doctype (#3757)
161
+
162
+ Build / Infrastructure::
163
+
164
+ * Enable running tests as root (PR #3874) (*@mikemckiernan*)
165
+ * Run tests against both pygments.rb 1.x and 2.x (#3969) (*@slonopotamus*)
166
+ * Speed up CI by using Bundler cache (PR #3901) (*@slonopotamus*)
167
+
168
+ Documentation::
169
+
170
+ * Import documentation for processor into this repository (#3861) (*@graphitefriction*)
171
+ * Add Belarusian translation of built-in attributes (PR #3928) (*@morganov*)
172
+
173
+ == 2.0.12 (2020-11-10) - @mojavelinux
174
+
175
+ Bug Fixes::
176
+
177
+ * Set type and target property on unresolved footnote reference and unset id property (fixes regression) (#3825)
178
+ * Fix crash when inlining an SVG if the explicit width or height value on the image node is not a string (#3829)
179
+ * Reset word wrap behavior to normal on tables, then re-enable again for admonition content, horizontal dlist description, and AsciiDoc table cells (#3833)
180
+
181
+ Improvements::
182
+
183
+ * Pass through role to DocBook output for inline image (#3832)
184
+
185
+ Compliance::
186
+
187
+ * Defer use of Ruby >= 2.3 constructs to restore compatibility with Ruby 2.0 until at least next minor release (#3827)
188
+ * Don't append the default px unit identifier to the explicit width or height value when inlining an SVG (#3829)
189
+
190
+ Build / Infrastructure::
191
+
192
+ * Migrate Linux CI jobs to GitHub Actions (#3837)
193
+ * Migrate Windows CI jobs to GitHub Actions (#3839)
194
+ * Run CI job on macOS (#3842)
195
+
196
+ == 2.0.11 (2020-11-02) - @mojavelinux
197
+
198
+ Bug Fixes::
199
+
200
+ * Fix infinite loop when callout list with obsolete syntax is found inside list item (#3472)
201
+ * Fix infinite loop when xreftext contains a circular reference path in HTML and manpage converters (#3543)
202
+ * Apply text formatting to table cells in implicit header row when column has the "a" or "l" style (#3760)
203
+ * Fix errant reference warning for valid reference when running in compat mode (#3555)
204
+ * Initialize backend traits for converter (if not previously initialized) using assigned basebackend; mimics Asciidoctor < 2 behavior (#3341)
205
+ * Set source_location on preamble block when sourcemap option is enabled (#3799)
206
+ * Link the notitle and showtitle attributes so they act as opposites for the same toggle (#3804)
207
+ * Pass options to constructor of Rouge lexer instead of #lex method; restores compatibility with Rouge >= 3.4 (#3336)
208
+ * Don't clobber cgi-style options on language when enabling start_inline option on the Rouge PHP lexer (#3336)
209
+ * Fix parsing of wrapped link and xref text, including when an attrlist signature is detected (#3331)
210
+ * Restore deprecated writable number property on AbstractBlock
211
+ * Always use title as xreftext if target block has an empty caption, regardless of xrefstyle value (#3745)
212
+ * Allow a bibliography reference to be used inside a footnote (#3325)
213
+ * Fix bottom margin collapsing on AsciiDoc table cell (#3370)
214
+ * Remove excess hard line break in multi-line AsciiMath blocks (#3407)
215
+ * Only strip trailing spaces from lines of AsciiDoc include file (#3436)
216
+ * Remove errant optional flag in regexp for menu macro that breaks Asciidoctor.js (#3433)
217
+ * Preserve repeating backslashes when generating manpage output (#3456)
218
+ * Honor percentage width specified on macro of inline SVG (#3464)
219
+ * Removing leading and trailing blank lines in AsciiDoc include file to match assumption of parser (#3470)
220
+ * Activate extensions when :extensions option is set even if Extensions API is not yet loaded (#3570)
221
+ * Don't activate global extensions if :extensions option is false (#3570)
222
+ * Escape ellipsis at start of line in manpage output (#3645) (*@jnavila*)
223
+ * Don't register footnote with ID if a footnote is already registered with that ID (#3690)
224
+ * Honor start attribute on ordered list in manpage output (#3714)
225
+ * Warn instead of crashing if SVG to inline is empty (#3638) (*@mogztter*)
226
+ * Compute highlight line ranges on source block relative to value of start attribute (#3519) (*@mogztter*)
227
+ * Prevent collapsible block from incrementing example number by assigning an empty caption (#3639)
228
+ * Use custom init function for highlight.js to select the correct `code` elements (#3761)
229
+ * Fix resolved value of :to_dir when both :to_file and :to_dir options are set to absolute paths (#3778)
230
+ * Fix crash if value of `stylesheets` attribute contains a folder and the destination directory for the stylesheet does not exist (even when the `:mkdirs` option is set) (#3808)
231
+ * Fix crash if value passed by API for `copycss` attribute is not a string (#3592)
232
+ * Restore label in front of each bibliography entry in DocBook output that was dropped by fix for #3085 (#3782)
233
+ * Apply max width to each top-level container instead of body in HTML output (#3513)
234
+ * Don't apply border-collapse: separate to HTML for table blocks; fixes double border at boundary of colspan/rowspan (#3793) (*@ahus1*)
235
+ * Don't remove right border on last table cell in row (#2563)
236
+ * Rework table borders to leverage border collapsing (apply frame border to table, grid border to cells, and selectively override border on cells to accommodate frame) (#3387)
237
+
238
+ Compliance::
239
+
240
+ * Account for empty positional attribute when parsing attrlist (#3813)
241
+ * Add support for muted option to self-hosted video (#3408)
242
+ * Move style tag for convert-time syntax highlighters (coderay, rouge, pygments) into head (#3462)
243
+ * Move style tag for client-side syntax highlighters (highlight.js, prettify) into head (#3503)
244
+ * Define entry point API methods (load, convert, load_file, convert_file) as class methods instead of module_function to avoid conflict with Kernel.load (#3625)
245
+ * Retain attribute order on HTML code tag for source block to remain consistent with output from 1.5.x (#3786)
246
+ * Correct language code for Korean language file from kr to ko (#3807) (*@jnavila*)
247
+
248
+ Improvements::
249
+
250
+ * Apply word wrap (i.e., `word-wrap: anywhere`) to body in default stylesheet (#3544)
251
+ * Allow `nobreak` and `nowrap` roles to be used on any inline element (#3544)
252
+ * Add CSS class to support pre-wrap role to preserve leading, trailing, and repeating spaces in phrase (#3815)
253
+ * Preserve guard around XML-style callout when icons are not enabled (#3319)
254
+ * Use `.fam C` command to switch font family for verbatim blocks to monospaced text in manpage output (#3561)
255
+ * Remove redundant test for halign and valign attributes on table cell in DocBook converter
256
+ * Allow encoding of include file to be specified using encoding attribute (#3248)
257
+ * Allow template to be used to override outline by only specifying the outline template (#3491)
258
+ * Upgrade MathJax from 2.7.5 to 2.7.9
259
+ * Upgrade highlight.js from 9.15.10 to 9.18.3 (note that this increases script size from 48.8 KB to 71.5 KB)
260
+ * Skip unused default attribute assignments for embedded document
261
+ * Allow a URL macro to have a preceding single or double quote (#3376)
262
+ * Add support for erubi template engine; use it in place of erubis in test suite; note the use of erubis is deprecated (#3737)
263
+ * Download and embed remote custom stylesheet if allow-uri-read is set (#3765)
264
+ * Remove direction property from default stylesheet (#3753) (*@abdnh*)
265
+ * remove max width setting on content column for print media in default stylesheet (#3802)
266
+ * Normalize frame value "topbot" to "ends" in HTML output (consistently use frame-ends class) (#3797)
267
+ * Add role setter method on AbstractNode (#3614)
268
+ * Map chapter-signifier and part-signifier attributes in locale attribute files to replace chapter-label and part-label (#3817)
269
+
270
+ Build / Infrastructure::
271
+
272
+ * Run test suite on TruffleRuby nightly (*@mogztter*, *@erebor*)
273
+ * Upgrade TruffleRuby to 20.0.0 (*@mogztter*)
274
+ * Trigger upstream builds for AsciidoctorJ on Github Actions (*@robertpanzer*)
275
+
276
+ == 2.0.10 (2019-05-31) - @mojavelinux
277
+
278
+ Bug Fixes::
279
+
280
+ * fix Asciidoctor.convert_file to honor `header_footer: false` option when writing to file (#3316)
281
+ * fix placement of title on excerpt block (#3289)
282
+ * always pass same options to SyntaxHighlighter#docinfo, regardless of value of location argument
283
+ * fix signature of SyntaxHighlighter#docinfo method (#3300)
284
+ * when `icons` is set to `image`, enable image icons, but don't use it as the value of the `icontype` attribute (#3308)
285
+
286
+ == 2.0.9 (2019-04-30) - @mojavelinux
287
+
288
+ Bug Fixes::
289
+
290
+ * process multiple single-item menu macros in same line (#3279)
291
+ * register images in catalog correctly (#3283)
292
+ * rename AbstractNode#options method to AbstractNode#enabled_options so it doesn't get shadowed by Document#options (#3282)
293
+ * don't fail to convert document if alt attribute is not set on block or inline image (typically by an extension)
294
+ * fix lineno of source location on blocks that follow a detached list continuation (#3281)
295
+ * assume inline image type is "image" if not set (typically by an extension)
296
+
297
+ == 2.0.8 (2019-04-22) - @mojavelinux
298
+
299
+ Bug Fixes::
300
+
301
+ * restore background color applied to literal blocks by default stylesheet (#3258)
302
+ * use portability constants (CC_ALL, CC_ANY) in regular expressions defined in built-in converters (DocBook5 and ManPage)
303
+ * use portability constant (CC_ANY) in regular expression for custom inline macros
304
+ * use smarter margin collapsing for AsciiDoc table cell content; prevent passthrough content from being cut off (#3256)
305
+ * don't limit footnote ref to ASCII charset; allow any word character in Unicode to be used (#3269)
306
+
307
+ Improvements::
308
+
309
+ * register_for methods accept arguments as symbols (#3274)
310
+ * use Concurrent::Map instead of Concurrent::Hash in template converter
311
+ * use module_function keyword to define methods in Helpers
312
+ * move regular expression definitions to separate source file (internal change)
313
+
314
+ == 2.0.7 (2019-04-13) - @mojavelinux
315
+
316
+ Bug Fixes::
317
+
318
+ * fix crash when resolving ID from text and at least one candidate contains an unresolved xref (#3254)
319
+ * fix compatibility with Rouge 2.0
320
+
321
+ Improvements::
322
+
323
+ * improve documentation for the `-a` CLI option; explain that `@` modifier can be placed at end of name as alternative to end of value
324
+ * move source for main API entry points (load, load_file, convert, convert_file) to separate files (internal change)
325
+ * define main API entry points (load, load_file, convert, convert_file) as module functions
326
+
327
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
328
+
329
+ == 2.0.6 (2019-04-04) - @mojavelinux
330
+
331
+ Bug Fixes::
332
+
333
+ * assume implicit AsciiDoc extension on inter-document xref macro target with no extension (e.g., `document#`); restores 1.5.x behavior (#3231)
334
+ * don't fail to load application if call to Dir.home fails; use a rescue with fallback values (#3238)
335
+ * Helpers.rootname should only consider final path segment when dropping file extension
336
+
337
+ Improvements::
338
+
339
+ * implement Helpers.extname as a more efficient and flexible File.extname method
340
+ * check for AsciiDoc file extension using end_with? instead of resolving the extname and using a lookup
341
+
342
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
343
+
344
+ == 2.0.5 (2019-04-01) - @mojavelinux
345
+
346
+ Bug Fixes::
347
+
348
+ * fix crash when source highlighter is Rouge and source language is not set on block (#3223)
349
+ * update CLI and SyntaxHighlighter to allow Asciidoctor to load cleanly on Ruby 2.0 - 2.2
350
+ * CLI should use $stdin instead of STDIN to be consistent with the use of $stdout
351
+ * mark encoding of stdio objects used in CLI as UTF-8 (#3225)
352
+ * make Asciidoctor::SyntaxHighlighter::Config.register_for method public as documented
353
+
354
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
355
+
356
+ == 2.0.4 (2019-03-31) - @mojavelinux
357
+
358
+ Bug Fixes::
359
+
360
+ * allow Asciidoctor to load cleanly on Ruby 2.0 - 2.2 for distributions that provide support for these older Ruby versions
361
+ * make Asciidoctor::Converter::Config.register_for method public as documented
362
+ * remove unused Asciidoctor::Converter::BackendTraits#derive_backend_traits private method
363
+ * move Asciidoctor::Converter::BackendTraits.derive_backend_traits method to Asciidoctor::Converter
364
+ * mark render and render_file methods as deprecated in API docs
365
+
366
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
367
+
368
+ == 2.0.3 (2019-03-28) - @mojavelinux
369
+
370
+ Bug Fixes::
371
+
372
+ * fix crash when attrlist is used on literal monospace phrase (#3216)
373
+ * update use of magic regexp variables to fix compatibility with Opal / Asciidoctor.js (#3214)
374
+
375
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
376
+
377
+ == 2.0.2 (2019-03-26) - @mojavelinux
378
+
379
+ Bug Fixes::
380
+
381
+ * apply verbatim substitutions to literal paragraphs attached to list item (#3205)
382
+ * implement #lines and #source methods on Table::Cell based on cell text (#3207)
383
+
384
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
385
+
386
+ == 2.0.1 (2019-03-25) - @mojavelinux
387
+
388
+ Bug Fixes::
389
+
390
+ * convert titles of cataloged block and section nodes containing attribute references eagerly to resolve attributes while in scope (#3202)
391
+ * customize MathJax (using a postfilter hook) to apply displaymath formatting to AsciiMath block (#2498)
392
+ * fix misspelling of deprecated default_attrs DSL function (missing trailing "s")
393
+ * remove unused location property (attr_accessor :location) on DocinfoProcessor class
394
+ * look for deprecated extension option :pos_attrs if :positional_attrs option is missing (#3199)
395
+ * add detail to load error message if path differs from gem name (#1884)
396
+
397
+ Build / Infrastructure::
398
+
399
+ * bundle .yardopts in RubyGem (#3193)
400
+
401
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
402
+
403
+ == 2.0.0 (2019-03-22) - @mojavelinux
404
+
405
+ Enhancements / Compliance::
406
+
407
+ * drop support for Ruby < 2.3 and JRuby < 9.1 and remove workarounds (#2764)
408
+ * drop support for Slim < 3 (#2998)
409
+ * drop the converter for the docbook45 backend from core; moved to https://github.com/asciidoctor/asciidoctor-docbook45 (#3005)
410
+ * apply substitutions to section and block titles in normal substitution order (#1173)
411
+ * make syntax highlighter pluggable; extract all logic into adapter classes (#2106)
412
+ * add syntax highlighter adapter for Rouge (#1040)
413
+ * redesign Converter API based on SyntaxHighlighter API; remap deprecated API to new API to ensure compatibility (#2891)
414
+ * repurpose built-in converters as regular converters (#2891)
415
+ * make registration and resolution of global converters thread-safe (#2891)
416
+ * fold the default converter factory into the Converter module (#2891)
417
+ * add a default implementation for Converter#convert in the Base converter (#2891)
418
+ * rename Converter::BackendInfo to Converter::BackendTraits; map backend_info to new backend_traits method (#2891)
419
+ * allow built-in converter classes to be resolved using Converter#for and instantiated using Converter#create (#2891)
420
+ * allow converter factory to be passed using :converter_factory API option (#2891)
421
+ * honor htmlsyntax if defined on converter (#2891)
422
+ * add backend_traits_source keyword argument to CompositeConverter constructor (#2891)
423
+ * add support for start attribute when using prettify to highlight source blocks with line numbering enabled
424
+ * use String#encode to encode String as UTF-8 instead of using String#force_encoding (#2764)
425
+ * add FILE_READ_MODE, URI_READ_MODE, and FILE_WRITE_MODE constants to control open mode when reading files and URIs and writing files (#2764)
426
+ * set visibility of private and protected methods (#2764)
427
+ * always run docinfo processor extensions regardless of safe mode (gives control to extension) (#2966)
428
+ * use infinitive verb form for extension DSL method names; map deprecated method names where appropriate
429
+ * add docinfo insertion slot for header location to built-in converters (#1720)
430
+ * add support for the `muted` option on vimeo videos (allows autoplay to work in Chrome) (#3014)
431
+ * use value of prettify-theme attribute as is if it starts with http:// or https:// (#3020)
432
+ * allow icontype to be set using icons attribute (#2953)
433
+ * when using a server-side syntax highlighter, highlight content of source block even if source language is not set (#3027)
434
+ * automatically promote a listing block without an explicit style to a source block if language is set (#1117)
435
+ * remove the 2-character (i.e., `""`) quote block syntax
436
+ * don't allow block role to inherit from document attribute; only look for role in block attributes (#1944)
437
+ * split out functionality of -w CLI flag (script warnings) from -v CLI flag (verbose logging) (#3030)
438
+ * log possible invalid references at info level (#3030)
439
+ * log dropped lines at info level when attribute-missing=drop-line (#2861)
440
+ * honor attribute-missing setting when processing include directives and block macros (#2855)
441
+ * log warning when include directive is not resolved due to missing attribute or blank target; always include warning in output document (#2868)
442
+ * use the third argument of AbstractNode#attr / AbstractNode#attr? to set the name of a fallback attribute to look for on the document (#1934)
443
+ * change default value of third argument to Abstractnode#attr / AbstractNode#attr? to nil so attribute doesn't inherit by default (#3059)
444
+ * look for table-frame, table-grid, and table-stripes attributes on document as fallback for frame, grid, and stripes attributes on table (#3059)
445
+ * add support for hover mode for table stripes (stripes=hover) (#3110)
446
+ * always assume the target of a shorthand inter-document xref is a reference to an AsciiDoc document (source-to-source) (#3021)
447
+ * if the target of a formal xref macro has a file extension, assume it's a path reference (#3021)
448
+ * never assume target of a formal xref macro is a path reference unless a file extension or fragment is present (#3021)
449
+ * encode characters in URI to comply with RFC-3986
450
+ * implement full support for styled xreftext in manpage converter (#3077)
451
+ * allow the ID and role properties to be set on a list item of ordered and unordered lists via the API (#2840)
452
+ * yield processor instance to registration block for document processor if block has non-zero arity (i.e., has parameters)
453
+ * add Document#parsed? method to check whether document has been parsed
454
+ * modify Cell class to extend from AbstractBlock instead of AbstractNode (#2963)
455
+ * implement block? and inline? methods on Column, both which return false (#2963)
456
+ * drop verse table cell style (treat as normal table cell) (#3111)
457
+ * allow negated subs to be specified on inline pass macro (#2191)
458
+ * log warning if footnoteref macro is found and compat mode is not enabled (#3114)
459
+ * log info message if inline macro processor returns a String value (#3176)
460
+ * apply subs to Inline node returned by inline macro processor if subs attribute is specified (#3178)
461
+ * add create_inline_pass helper method to base extension processor class (#3178)
462
+ * log debug message instead of warning if block style is unknown (#3092)
463
+ * allow backend to delegate to a registered backend using the syntax synthetic:delegate when using custom templates (e.g., slides:html) (#891)
464
+ * AbstractBlock#find_by looks inside AsciiDoc table cells if traverse_documents selector option is true (#3101)
465
+ * AbstractBlock#find_by finds table cells, which can be selected using the :table_cell context in the selector (#2524)
466
+ * allow ampersand to be used in e-mail address (#2553)
467
+ * propagate ID assigned to inline passthrough (#2912)
468
+ * rename control keywords in find_by to better align with the standard NodeFilter terminology
469
+ * stop find_by iteration if filter block returns :stop directive
470
+ * rename header_footer option to standalone (while still honoring header_footer for backwards compatibility) (#1444)
471
+ * replace anchors and xrefs before footnotes (replace footnotes last in macros substitution group)
472
+ * apply substitution for custom inline macro before all other macros
473
+ * only promote index terms automatically (A, B, C becomes A > B > C + B > C + C) if indexterm-promotion option is set on document (#1487)
474
+ * add support for see and see-also on index terms; parse attributes on indexterm macros if text contains `=` (#2047)
475
+ * drop :indexterms table from document catalog (in preparation for solution to #450 in a 2.x release)
476
+ * load additional languages for highlight.js as defined in the comma-separated highlightjs-languages attribute (#3036)
477
+ * log warning if conditional expression in ifeval directive is invalid (#3161)
478
+ * drop lines that contain an invalid preprocessor directive (#3161)
479
+ * rename AbstractBlock#find_by directives; use :prune in place of :skip_children and :reject in place of :skip
480
+ * convert example block into details/summary tag set if collapsible option is set; open by default if open option is set (#1699)
481
+ * substitute replacements in author values used in document header (#2441)
482
+ * require space after semi-colon that separates multiple authors (#2441)
483
+ * catalog inline anchors at start of callout list items (#2818) (*@owenh000*)
484
+ * add parse_attributes helper method to base extension Processor class (#2134)
485
+ * require at least one character in the term position of a description list (#2766)
486
+
487
+ Improvements::
488
+
489
+ * propagate document ID to DocBook output (#3011)
490
+ * always store section numeral as string; compute roman numeral for part at assignment time (@vmj)
491
+ * refactor code to use modern Hash syntax
492
+ * define LIB_DIR constant; rename *_PATH constants to *_DIR constants to be consistent with RubyGems terminology (#2764)
493
+ * only define ROOT_DIR if not already defined (for compatibility with Asciidoctor.js)
494
+ * move custom docinfo content in footer below built-in docinfo content in footer in HTML converter (#3017)
495
+ * read and write files using File methods instead of IO methods (#2995)
496
+ * value comparison in AbstractNode#attr? is only performed if expected value is truthy
497
+ * align default CodeRay style with style for other syntax highlighters (#2106)
498
+ * ensure linenos class is added to linenos column when source highlighter is pygments and pygments-css=style
499
+ * disable table stripes by default (#3110)
500
+ * rename CSS class of Pygments line numbering table to linenotable (to align with Rouge) (#1040)
501
+ * remove unused Converter#convert_with_options method (#2891)
502
+ * add -e, --embedded CLI flag as alias for -s, --no-header-footer (require long option to specify eRuby impl) (#1444)
503
+ * don't store the options attribute on the block once the options are parsed (#3051)
504
+ * add an options method on AbstractNode to retrieve the set of option names (#3051)
505
+ * pass :input_mtime option to Document constructor; let Document constructor assign docdate/time/year attributes (#3029)
506
+ * never mutate strings; add a `frozen_string_literal: true` magic comment to top of all Ruby source files (#3054)
507
+ * always use docdate and doctime to compute docyear and docdatetime (#3064)
508
+ * rename PreprocessorReader#exceeded_max_depth? to PreprocessorReader#exceeds_max_depth? and return nil if includes are disabled
509
+ * stop populating :ids table in document catalog (#3084)
510
+ * always use :refs table in document catalog to look for registered IDs (#3084)
511
+ * don't compute and store reference text in document catalog (#3084)
512
+ * populate reference text table lazily for resolving ID by reference text (#3084)
513
+ * don't store fallback reference text on :bibref node (#3085)
514
+ * call AbstractNode#reftext instead of AbstractNode#text to retrieve reference text for bibref node (#3085)
515
+ * only map unparsed attrlist of inline macro to target when format is short
516
+ * add clearer exception message when source data is binary or has invalid encoding (#2884)
517
+ * rename context for table cell and table column to :table_cell and :table_column, respectively
518
+ * rename hardbreaks document attribute to hardbreaks-option; retain hardbreaks as a deprecated alias (#3123)
519
+ * extend TLD for implicit e-mail addresses to 5 characters (#3154)
520
+ * truncate with precision (instead of rounding) when computing absolute width for columns in DocBook output (#3131)
521
+ * drop legacy LaTeX math delimiters (e.g, `$..$`) if present (#1339)
522
+ * use proper terminology in warning message about mismatched preprocessor directive (#3165)
523
+ * rename low-level extension attribute name :pos_attrs to :positional_attrs
524
+ * mark default_attrs extension DSL method deprecated in favor of default_attributes
525
+ * upgrade MathJax to 2.7.5
526
+
527
+ Bug Fixes::
528
+
529
+ * fix crash caused by inline passthrough macro with the macros sub clearing the remaining passthrough placeholders (#3089)
530
+ * fix crash if ifeval directive is missing expression (#3164)
531
+ * prevent relative leveloffset from making section level negative and causing hang (#3152)
532
+ * don't fail to parse Markdown-style quote block that only contains attribution line (#2989)
533
+ * enforce rule that Setext section title must have at least one alphanumeric character; fixes problem w/ block nested inside quote block (#3060)
534
+ * apply header subs to doctitle value when assigning it back to the doctitle document attribute (#3106)
535
+ * don't fail if value of pygments-style attribute is not recognized; gracefully fallback to default style (#2106)
536
+ * do not alter the $LOAD_PATH (#2764)
537
+ * fix crash if stem block is empty (#3118)
538
+ * remove conditional comment for IE in output of built-in HTML converter; fixes sidebar table of contents (#2983)
539
+ * fix styling of source blocks with linenums enabled when using prettify as syntax highlighter (#640)
540
+ * update default stylesheet to support prettify themes (#3020)
541
+ * remove hard-coded color values on source blocks in default stylesheet (#3020)
542
+ * add fallback if relative path cannot be computed because the paths are located on different drives (#2944)
543
+ * ignore explicit section level style (#1852)
544
+ * don't eat space before callout number in source block if line-comment attribute is empty (#3121)
545
+ * check if type is defined in a way that's compatible with autoload
546
+ * fix invalid check for DSL in extension class (previously always returned true)
547
+ * scope constant lookups (#2764)
548
+ * use byteslice instead of slice to remove BOM from string (#2764)
549
+ * don't fail if value of -a CLI option is empty string or equals sign (#2997)
550
+ * allow failure level of CLI to be set to info
551
+ * Reader#push_include should not fail if data is nil
552
+ * fix deprecated ERB trim mode that was causing warning (#3006)
553
+ * move time anchor after query string on vimeo video to avoid dropping options
554
+ * allow color for generic text, line numbers, and line number border to inherit from Pygments style (#2106)
555
+ * enforce and report relative include depth properly (depth=0 rather than depth=1 disables nested includes)
556
+ * allow outfilesuffix to be soft set from API (#2640)
557
+ * don't split paragraphs in table cell at line that resolves to blank if adjacent to other non-blank lines (#2963)
558
+ * initialize the level to WARN when instantiating the NullLogger
559
+ * next_adjacent_block should not fail when called on dlist item (#3133)
560
+ * don't suppress browser styles for summary tag; add pointer cursor and panel margin bottom (#3155)
561
+ * only consider TLDs in e-mail address that have ASCII alpha characters
562
+ * allow underscore in domain of e-mail address
563
+
564
+ Build / Infrastructure::
565
+
566
+ * clear SOURCE_DATE_EPOCH env var when testing timezones (PR #2969) (*@aerostitch*)
567
+ * remove compat folder (removes the AsciiDoc.py config file that provides pseudo-compliance with Asciidoctor and a stylesheet for an old Font Awesome migration)
568
+ * add Ruby 2.6.0 to build matrix
569
+ * stop running CI job on unsupported versions of Ruby
570
+ * exclude test suite, build script, and Gemfile from gem (#3044)
571
+ * split build tasks out into individual files
572
+
573
+ Also see https://github.com/asciidoctor/asciidoctor/milestone/33?closed=1[issues resolved in 2.0.x] (cumulative).
15
574
 
16
575
  == 1.5.8 (2018-10-28) - @mojavelinux
17
576
 
@@ -37,9 +596,10 @@ Enhancements::
37
596
  * add support for start attribute on source block to set starting line number when converting to DocBook (#2915)
38
597
  * track imagesdir for image on node and in catalog (#2779)
39
598
  * allow starting line number to be set using start attribute when highighting source block with Pygments or CodeRay (#1742)
599
+ * add intrinsic attribute named `pp` that effectively resolves to `++` (#2807)
40
600
  * upgrade highlight.js to 9.13.1
41
601
 
42
- Fixes::
602
+ Bug Fixes::
43
603
 
44
604
  * don't hang on description list item that begins with /// (#2888)
45
605
  * don't crash when using AsciiDoc table cell style on column in CSV table (#2817)
@@ -102,10 +662,9 @@ Build / Infrastructure::
102
662
 
103
663
  * replace thread_safe with concurrent-ruby (PR #2822) (*@junaruga*)
104
664
 
105
- // tag::compact[]
106
665
  == 1.5.7.1 (2018-05-10) - @mojavelinux
107
666
 
108
- Fixes::
667
+ Bug Fixes::
109
668
 
110
669
  * fix regression where block attributes where being inherited by sibling blocks in a complex list item (#2771)
111
670
  * don't apply lead styling to first paragraph in nested document (AsciiDoc table cell) if role is present (#2624)
@@ -122,6 +681,11 @@ Enhancements::
122
681
 
123
682
  * BREAKING: drop XML tags, character refs, and non-word characters (except hyphen, dot, and space) when auto-generating section IDs (#794)
124
683
  ** hyphen, dot, and space are replaced with value of idseparator, if set; otherwise, spaces are dropped
684
+ * BREAKING: disable inter-document xrefs in compat mode (#2740)
685
+ * BREAKING: automatically parse attributes in link macro if equals is present, ignoring linkattrs (except in compat mode) (#2059)
686
+ * pass non-AsciiDoc file extensions in target of xref through unprocessed (#2740)
687
+ * process any known AsciiDoc file extension in target of shorthand inter-document xref if hash is also present (e.g., `<<target.asciidoc#,text>>`) (#2740)
688
+ * only allow .adoc to be used in target of formal xref macro to create an inter-document xref (with or without a hash) (#2740)
125
689
  * allow attribute names to contain any word character defined by Unicode (#2376, PR #2393)
126
690
  * do not recognize attribute entry line if name contains a colon (PR #2377)
127
691
  * route all processor messages through a logger instead of using Kernel#warn (#44, PR #2660)
@@ -133,15 +697,16 @@ Enhancements::
133
697
  * add `--failure-level=LEVEL` option to CLI to force non-zero exit code if specified logging level is reached (#2003, PR #2674)
134
698
  * parse text of xref macro as attributes if attribute signature found (equal sign) (#2381)
135
699
  * allow xrefstyle to be specified per xref by assigning the xrefstyle attribute on the xref macro (#2365)
136
- * recognize target with .adoc extension in xref macro as an interdocument xref
700
+ * recognize target with .adoc extension in xref macro as an inter-document xref
137
701
  * resolve nested includes in remote documents relative to URI (#2506, PR #2511)
138
- * allow `relfilesuffix` attribute to control file extension used for interdoc xrefs (#1273)
702
+ * allow `relfilesuffix` attribute to control file extension used for inter-document xrefs (#1273)
139
703
  * support `!name@` (preferred), `!name=@`, `name!@`, and `name!=@` syntax to soft unset attribute from API or CLI (#642, PR #2649)
140
704
  * allow modifier to be placed at end of name to soft set an attribute (e.g., `icons@=font`) (#642, PR #2649)
141
705
  * interpret `false` attribute value defined using API as a soft unset (#642, PR #2649)
142
706
  * number parts if `partnums` attribute is set (#2298)
143
707
  * allow footnote macro to define or reference footnote reference (footnoteref macro now deprecated) (#2347, PR #2362)
144
708
  * allow custom converter to be used with custom templates; converter must declare that it supports templates (#2619)
709
+ * add syntax help topic to CLI (`-h syntax`) (#1573)
145
710
  * allow manpage path for manpage help topic to be specified using ASCIIDOCTOR_MANPAGE_PATH environment variable (PR #2653) (*@aerostitch*)
146
711
  * if manpage cannot be found in default path inside gem, use `man -w asciidoctor` to resolve installed path (PR #2653)
147
712
  * uncompress contents of manpage for manpage help topic if path ends with .gz (PR #2653) (*@aerostitch*)
@@ -160,7 +725,7 @@ Enhancements::
160
725
  * register document in catalog if id is set; assign reftext to document attributes if specified in a block attribute line (#2301, PR #2428)
161
726
  * allow automatic width to be applied to individual columns in a table using the special value `~` (#1844)
162
727
  * use the quote element in DocBook converter to represent smart quotes (#2272, PR #2356) (@bk2204)
163
- * parse and pass all manpage names to output document master (i.e., shadow man pages) (#1811, #2543, PR #2414)
728
+ * parse and pass all manpage names to output (i.e., shadow man pages) (#1811, #2543, PR #2414)
164
729
  * parse credit line of shorthand quote block as block attributes; apply normal subs to credit line in shorthand quote blocks (#1667, PR #2452)
165
730
  * populate copyright element in DocBook output from value of copyright attribute (#2728)
166
731
  * preserve directories if source dir and destination dir are set (#1394, PR #2421)
@@ -170,7 +735,7 @@ Enhancements::
170
735
  * upgrade to Font Awesome 4.7.0 (#2569)
171
736
  * upgrade to MathJax 4.7.4
172
737
 
173
- Bug fixes::
738
+ Bug Fixes::
174
739
 
175
740
  * set `:to_dir` option value correctly when output file is specified (#2382)
176
741
  * preserve leading indentation in contents of AsciiDoc table cell if contents starts with a newline (#2712)
@@ -240,7 +805,6 @@ Improvements / Refactoring::
240
805
  * move callouts into document catalog (PR #2394)
241
806
  * document ID defined in block attribute line takes precedence over ID defined inside document title line
242
807
  * don't look for link and window attributes on document when resolving these attributes for an image
243
- * when linkattrs is set, only parse attributes in link macro if equals is present
244
808
  * skip line comments in name section of manpage (#2584, PR #2585)
245
809
  * always activate extension registry passed to processor (PR #2379)
246
810
  * skip extension registry activation if no groups are registered (PR #2373)
@@ -249,7 +813,7 @@ Improvements / Refactoring::
249
813
  * add methods to read results from timings (#2578, PR #2580)
250
814
  * collapse bottom margin of last block in AsciiDoc table cell (#2568, PR #2593)
251
815
  * set authorcount to 0 if there are no authors (#2519, PR #2520)
252
- * validate fragment of interdoc xref that resolves to current doc (#2448, PR #2449)
816
+ * validate fragment of inter-document xref that resolves to current doc (#2448, PR #2449)
253
817
  * put id attribute on tag around phrase instead of preceding anchor (#2445, PR #2446)
254
818
  * add .plist extension to XML circumfix comment family (#2430, PR #2431) (*@akosma*)
255
819
  * alias Document#title method to no args Document#doctitle method (#2429, PR #2432)
@@ -293,11 +857,10 @@ Distribution Packages::
293
857
  * https://packages.ubuntu.com/search?keywords=asciidoctor[Ubuntu (asciidoctor)]
294
858
  * https://pkgs.alpinelinux.org/packages?name=asciidoctor[Alpine Linux (asciidoctor)]
295
859
  * https://software.opensuse.org/package/rubygem-asciidoctor[OpenSUSE (rubygem-asciidoctor)]
296
- // end::compact[]
297
860
 
298
861
  == 1.5.6.2 (2018-03-20) - @mojavelinux
299
862
 
300
- Bug fixes::
863
+ Bug Fixes::
301
864
 
302
865
  * fix match for multiple xref macros w/ implicit text in same line (#2450)
303
866
  * PathResolver#root? returns true for absolute URL in browser env (#2595)
@@ -336,7 +899,7 @@ Enhancements::
336
899
 
337
900
  * Don't include title of special section in DocBook output if untitled option is set (e.g., dedication%untitled)
338
901
 
339
- Bug fixes::
902
+ Bug Fixes::
340
903
 
341
904
  * continue to read blocks inside a delimited block after content is skipped (PR #2318)
342
905
  * don't create an empty paragraph for skipped content inside a delimited block (PR #2319)
@@ -390,6 +953,7 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.6\...v1.5.6.1[full diff]
390
953
  == 1.5.6 (2017-07-12) - @mojavelinux
391
954
 
392
955
  Enhancements::
956
+
393
957
  * use custom cross reference text if xrefstyle attribute is set (full, short, basic) (#858, #1132)
394
958
  * store referenceable nodes under refs key in document catalog (PR #2220)
395
959
  * apply reftext substitutions (specialchars, quotes, replacements) to value returned by reftext method (PR #2220)
@@ -426,6 +990,7 @@ Enhancements::
426
990
  * add Cell#text= method
427
991
 
428
992
  Improvements::
993
+
429
994
  * significant improvements to performance, especially in parser and substitutors
430
995
  * process include directive inside text of short form preprocessor conditional (#2146)
431
996
  * add support for include tags in languages that only support only circumfix comments (#1729)
@@ -487,9 +1052,10 @@ Improvements::
487
1052
  * rename macro regexp constants so name follows type (e.g., InlineImageMacroRx)
488
1053
 
489
1054
  Compliance::
1055
+
490
1056
  * retain block content in items of callout list when converting to HTML and man page (#1478)
491
1057
  * only substitute specialchars for content in literal table cells (#1912)
492
- * fix operator logic for ifndef directive with multiple attributes (#1983)
1058
+ * fix operator logic for ifndef directive with multiple attributes to align with behavior of AsciiDoc.py; when attributes are separated by commas, content is only included if none of the attributes listed are set; when attributes are separated by pluses, content is included if at least one of the attributes is not set (#1983)
493
1059
  * only recognize uniform underline for setext section title (#2083)
494
1060
  * don't match headings with mixed leading characters (#2074)
495
1061
  * fix layout break from matching lines it shouldn't
@@ -530,7 +1096,8 @@ Compliance::
530
1096
  * remove regexp hacks for Opal (#2110)
531
1097
  * drop outdated quoting exceptions for Opal (PR #2081)
532
1098
 
533
- Bug fixes::
1099
+ Bug Fixes::
1100
+
534
1101
  * don't allow table borders to cascade to nested tables (#2151)
535
1102
  * escape special characters in reftext of anchor (#1694)
536
1103
  * sanitize content of authors meta tag in HTML output (#2112)
@@ -566,6 +1133,7 @@ Bug fixes::
566
1133
  * handle cases when there are no lines for include directive to select
567
1134
 
568
1135
  Documentation::
1136
+
569
1137
  * enable admonition icons in README when displayed on GitHub
570
1138
  * add German translation of chapter-label (PR #1920) (*@fapdash*)
571
1139
  * add Ukrainian translation of built-in attributes (PR #1955) (*@hedrok*)
@@ -576,6 +1144,7 @@ Documentation::
576
1144
  * add Bahasa Indonesia translation of built-in labels (*@triyanwn*)
577
1145
 
578
1146
  Build / Infrastructure::
1147
+
579
1148
  * upgrade highlight.js to 9.12.0 (#1652)
580
1149
  * include entire test suite in gem (PR #1952) (*@voxik*)
581
1150
  * upgrade Slim development dependency to 3.0.x (PR #1953) (*@voxik*)
@@ -607,17 +1176,19 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.5\...v1.5.6[full diff]
607
1176
  == 1.5.5 (2016-10-05) - @mojavelinux
608
1177
 
609
1178
  Enhancements::
1179
+
610
1180
  * Add preference to limit the maximum size of an attribute value (#1861)
611
- * Honor SOURCE_DATE_EPOCH environment variable to accomodate reproducible builds (#1721) (*@JojoBoulix*)
1181
+ * Honor SOURCE_DATE_EPOCH environment variable to accommodate reproducible builds (#1721) (*@JojoBoulix*)
612
1182
  * Add reversed attribute to ordered list if reversed option is enabled (#1830)
613
1183
  * Add support for additional docinfo locations (e.g., :header)
614
- * Configure default stylesheet to break monospace word if exceeds length of line; add roles to prevent breaks (#1814)
1184
+ * Configure default stylesheet to break monospace word if exceeds length of line using `word-wrap: break-word`; add `nobreak` and `nowrap` roles to prevent breaks (#1814)
615
1185
  * Introduce translation file for built-in labels (*@ciampix*)
616
1186
  * Provide translations for built-in labels (*@JmyL* - kr, *@ciampix* - it, *@ivannov* - bg, *@maxandersen* - da, *@radcortez* - pt, *@eddumelendez* - es, *@leathersole* - jp, *@aslakknutsen* - no, *@shahryareiv* - fa, *@AlexanderZobkov* - ru, *@dongwq* - zh, *@rmpestano* - pt_BR, *@ncomet* - fr, *@lgvz* - fi, *@patoi* - hu, *@BojanStipic* - sr, *@fwilhe* - de, *@rahmanusta* - tr, *@abelsromero* - ca, *@aboullaite* - ar, *@roelvs* - nl)
617
1187
  * Translate README to Chinese (*@diguage*)
618
1188
  * Translate README to Japanese (*@Mizuho32*)
619
1189
 
620
1190
  Improvements::
1191
+
621
1192
  * Style nested emphasized phrases properly when using default stylesheet (#1691)
622
1193
  * Honor explicit table width even when autowidth option is set (#1843)
623
1194
  * Only explicit noheader option on table should disable implicit table header (#1849)
@@ -638,11 +1209,12 @@ Improvements::
638
1209
  * Rename definition list to description list internally
639
1210
 
640
1211
  Compliance::
641
- * Support 6-digit decimal char refs, 5-digit hexidecimal char refs (#1824)
1212
+
1213
+ * Support 6-digit decimal char refs, 5-digit hexadecimal char refs (#1824)
642
1214
  * Compatibility fixes for Opal
643
1215
  * Check for number using Integer instead of Fixnum class for compatibility with Ruby 2.4
644
1216
 
645
- Bug fixes::
1217
+ Bug Fixes::
646
1218
  * Use method_defined? instead of respond_to? to check if method is already defined when patching (#1838)
647
1219
  * Fix invalid conditional in HTML5 converter when handling of SVG
648
1220
  * Processor#parse_content helper no longer shares attribute list between blocks (#1651)
@@ -654,7 +1226,8 @@ Bug fixes::
654
1226
  * Don't duplicate forward slash for path relative to root (#1822)
655
1227
 
656
1228
  Infrastructure::
657
- * Build gem properly in the absense of a git workspace, make compatible with JRuby (#1779)
1229
+
1230
+ * Build gem properly in the absence of a git workspace, make compatible with JRuby (#1779)
658
1231
  * Run tests in CI using latest versions of Ruby, including Ruby 2.3 (*@ferdinandrosario*)
659
1232
 
660
1233
  Distribution Packages::
@@ -672,10 +1245,12 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.4\...v1.5.5[full diff]
672
1245
  == 1.5.4 (2016-01-03) - @mojavelinux
673
1246
 
674
1247
  Enhancements::
1248
+
675
1249
  * translate README into French (#1630) (*@anthonny*, *@mogztter*, *@gscheibel*, *@mgreau*)
676
1250
  * allow linkstyle in manpage output to be configured (#1610)
677
1251
 
678
1252
  Improvements::
1253
+
679
1254
  * upgrade to MathJax 2.6.0 and disable loading messages
680
1255
  * upgrade to Font Awesome 4.5.0
681
1256
  * disable toc if document has no sections (#1633)
@@ -687,12 +1262,14 @@ Improvements::
687
1262
  * allow asciidoctor cli to resolve library path when invoked without leading ./
688
1263
 
689
1264
  Compliance::
1265
+
690
1266
  * allow special section to be nested at any depth (#1591)
691
1267
  * ensure colpcwidth values add up to 100%; increase precision of values to 4 decimal places (#1647)
692
1268
  * ignore blank cols attribute on table (#1647)
693
1269
  * support shorthand syntax for block attributes on document title (#1650)
694
1270
 
695
- Bug fixes::
1271
+ Bug Fixes::
1272
+
696
1273
  * don't include default toc in AsciiDoc table cell; don't pass toc location attributes to nested document (#1582)
697
1274
  * guard against nil dlist list item in find_by (#1618)
698
1275
  * don't swallow trailing line when include file is not readable (#1602)
@@ -710,7 +1287,8 @@ Bug fixes::
710
1287
  * don't fail if library is loaded more than once
711
1288
 
712
1289
  Infrastructure::
713
- * remove trailing endlines in project source code
1290
+
1291
+ * remove trailing newlines in project source code
714
1292
  * update contributing guidelines
715
1293
  * explicitly test ifeval scenario raised in issue #1585
716
1294
  * remove backreference substitution hack for Opal/Asciidoctor.js
@@ -731,6 +1309,7 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.3\...v1.5.4[full diff]
731
1309
  == 1.5.3 (2015-10-31) - @mojavelinux
732
1310
 
733
1311
  Enhancements::
1312
+
734
1313
  * add support for interactive & inline SVGs (#1301, #1224)
735
1314
  * add built-in manpage backend (#651) (*@davidgamba*)
736
1315
  * create Mallard backend; asciidoctor/asciidoctor-mallard (#425) (*@bk2204*)
@@ -743,6 +1322,7 @@ Enhancements::
743
1322
  * make XrefInlineRx regexp more permissive (Mathieu Boespflug) (#844)
744
1323
 
745
1324
  Improvements::
1325
+
746
1326
  * load JavaScript and CSS at bottom of HTML document (#1238) (*@mogztter*)
747
1327
  * list available backends in help text (#1271) (*@plaindocs*)
748
1328
  * properly expand tabs in literal text (#1170, #841)
@@ -785,6 +1365,7 @@ Improvements::
785
1365
  * prevent CodeRay from bolding every 10th line number
786
1366
 
787
1367
  Compliance::
1368
+
788
1369
  * use `<sup>` for footnote reference in text instead of `<span>` (#1523)
789
1370
  * fix alignment of wrapped text in footnote (#1524)
790
1371
  * include full stop after footnote number in embeddable HTML
@@ -792,7 +1373,8 @@ Compliance::
792
1373
  * resolve missing attribute in ifeval to empty string (#1387)
793
1374
  * support unbreakable & breakable options on table (rockyallen) (#1140)
794
1375
 
795
- Bug fixes::
1376
+ Bug Fixes::
1377
+
796
1378
  * don't truncate exception stack in `Asciidoctor.load` (#1248)
797
1379
  * don't fail to save cause of Java exception (#1458) (*@robertpanzer*)
798
1380
  * fix precision error in timings report (#1342)
@@ -819,6 +1401,7 @@ Bug fixes::
819
1401
  * fix grammar in warning messages regarding thread_safe gem
820
1402
 
821
1403
  Infrastructure::
1404
+
822
1405
  * migrate opal_ext from core to Asciidoctor.js (#1517)
823
1406
  * add Ruby 2.2 to CI build; only specify minor Ruby versions
824
1407
  * enable containerized builds on Travis CI
@@ -852,7 +1435,7 @@ Improvements::
852
1435
  * define JAVASCRIPT_PLATFORM constant to simplify conditional logic in the JavaScript environment (#897)
853
1436
  * provide access to destination directory, outfile and outdir via Document object (#1203)
854
1437
  * print encoding information in version report produced by `asciidoctor -v` (#1210)
855
- * add intrinsic attribute named `cpp` with value `C++` (#1208)
1438
+ * add intrinsic attribute named `cpp` that effectively resolves to `C++` (#1208)
856
1439
  * preserve URI targets passed to `stylesheet` and related attributes (#1192)
857
1440
  * allow numeric characters in block attribute name (#1103)
858
1441
  * support custom YouTube playlists (#1105)
@@ -873,7 +1456,7 @@ Compliance::
873
1456
  * allow empty cell to appear at end of table row (#1106)
874
1457
  * only produce one row for table in CSV or DSV format with a single cell (#1180)
875
1458
 
876
- Bug fixes::
1459
+ Bug Fixes::
877
1460
 
878
1461
  * add explicit to_s call to generate delimiter settings for MathJax config (#1198)
879
1462
  * fix includes that reference absolute Windows paths (#1144)
@@ -892,7 +1475,7 @@ https://github.com/asciidoctor/asciidoctor/compare/v1.5.1\...v1.5.2[full diff]
892
1475
 
893
1476
  == 1.5.1 (2014-09-29) - @mojavelinux
894
1477
 
895
- Bug fixes::
1478
+ Bug Fixes::
896
1479
 
897
1480
  * recognize tag directives inside comments within XML files for including tagged regions
898
1481
  * restore passthroughs inside footnotes when more than one footnote appears on the same line
@@ -999,7 +1582,7 @@ Improvements::
999
1582
  * print runtime environment in version output, support -v as version flag (#785)
1000
1583
  * unwrap preamble if standalone (#533)
1001
1584
  * drop leading & trailing blank lines in verbatim & raw content (#724)
1002
- * remove trailing endlines from source data (#727)
1585
+ * remove trailing newlines from source data (#727)
1003
1586
  * add flag to cli to suppress warnings (#557)
1004
1587
  * emit warning if tag(s) not found in include file (#639)
1005
1588
  * use <th> element for vertical table headers instead of header class (#738) (*@davidgamba*)
@@ -1087,7 +1670,7 @@ Bug Fixes::
1087
1670
  Infrastructure::
1088
1671
 
1089
1672
  * add Ruby 2.1 to list of supported platforms
1090
- * reenable rbx in Travis build
1673
+ * re-enable rbx in Travis build
1091
1674
  * switch tests to minitest (*@ktdreyer*)
1092
1675
  * update RPM for Fedora Rawhide (*@ktdreyer*)
1093
1676
  * refactor unit tests so they work in RubyMine (*@cmoulliard*)
@@ -1172,13 +1755,13 @@ Compliance::
1172
1755
  * skip include directives when processing comment blocks
1173
1756
  * added xmlns to root element in docbook45 backend, set noxmlns attribute to disable
1174
1757
  * added a Compliance module to control compliance-related behavior
1175
- * added linkattrs feature to AsciiDoc compatibility file (#441)
1176
- * added level-5 heading to AsciiDoc compatibility file (#388)
1177
- * added new XML-based callouts to AsciiDoc compatibility file
1178
- * added absolute and uri image target matching to AsciiDoc compatibility file
1179
- * added float attribute on inline image macro to AsciiDoc compatibility file
1180
- * removed linkcss in AsciiDoc compatibility file
1181
- * fixed fenced code entry in compatibility file
1758
+ * added linkattrs feature to AsciiDoc.py compatibility file (#441)
1759
+ * added level-5 heading to AsciiDoc.py compatibility file (#388)
1760
+ * added new XML-based callouts to AsciiDoc.py compatibility file
1761
+ * added absolute and uri image target matching to AsciiDoc.py compatibility file
1762
+ * added float attribute on inline image macro to AsciiDoc.py compatibility file
1763
+ * removed linkcss in AsciiDoc.py compatibility file
1764
+ * fixed fenced code entry in AsciiDoc.py compatibility file
1182
1765
 
1183
1766
  Bug Fixes::
1184
1767
 
@@ -1276,7 +1859,7 @@ Enhancements::
1276
1859
 
1277
1860
  Compliance::
1278
1861
 
1279
- * ~ 99.5% compliance with AsciiDoc
1862
+ * ~ 99.5% compliance with AsciiDoc.py
1280
1863
  * drop line if target of include directive is blank (#376)
1281
1864
  * resolve attribute references in target of include directive (#367)
1282
1865
  * added irc scheme to link detection (#314)
@@ -1309,7 +1892,7 @@ Distribution Packages::
1309
1892
  * https://rubygems.org/gems/asciidoctor[RubyGem (asciidoctor)]
1310
1893
  * https://apps.fedoraproject.org/packages/rubygem-asciidoctor[Fedora (rubygem-asciidoctor)]
1311
1894
 
1312
- http://asciidoctor.org/news/2013/05/31/asciidoctor-0-1-3-released[release notes] |
1895
+ https://asciidoctor.org/news/2013/05/31/asciidoctor-0-1-3-released[release notes] |
1313
1896
  https://github.com/asciidoctor/asciidoctor/issues?milestone=4&state=closed[issues resolved] |
1314
1897
  https://github.com/asciidoctor/asciidoctor/releases/tag/v0.1.3[git tag] |
1315
1898
  https://github.com/asciidoctor/asciidoctor/compare/v0.1.2\...v0.1.3[full diff]
@@ -1322,7 +1905,7 @@ Performance::
1322
1905
 
1323
1906
  Enhancements::
1324
1907
 
1325
- * new website at http://asciidoctor.org
1908
+ * new website at https://asciidoctor.org
1326
1909
  * added a default stylesheet (#76)
1327
1910
  * added viewport meta tag for mobile browsers (#238)
1328
1911
  * set attributes based on safe mode (#244)
@@ -1337,7 +1920,7 @@ Enhancements::
1337
1920
 
1338
1921
  Compliance::
1339
1922
 
1340
- * added AsciiDoc compatibility file to make AsciiDoc behave like Asciidoctor (#257)
1923
+ * added compatibility file to make AsciiDoc.py behave like Asciidoctor (#257)
1341
1924
  * restore alpha-based xml entities (#211)
1342
1925
  * implement video and audio block macros (#155)
1343
1926
  * implement toc block macro (#269)
@@ -1364,7 +1947,7 @@ Distribution Packages::
1364
1947
 
1365
1948
  * https://rubygems.org/gems/asciidoctor[RubyGem (asciidoctor)]
1366
1949
 
1367
- http://asciidoctor.org/news/2013/04/25/asciidoctor-0-1-2-released[release notes] |
1950
+ https://asciidoctor.org/news/2013/04/25/asciidoctor-0-1-2-released[release notes] |
1368
1951
  https://github.com/asciidoctor/asciidoctor/issues?milestone=3&state=closed[issues resolved] |
1369
1952
  https://github.com/asciidoctor/asciidoctor/releases/tag/v0.1.2[git tag] |
1370
1953
  https://github.com/asciidoctor/asciidoctor/compare/v0.1.1\...v0.1.2[full diff]
@@ -1393,7 +1976,7 @@ Compliance::
1393
1976
  * support limited value comparison functionality of ifeval (#83)
1394
1977
  * added support for multiple attributes in ifdef and ifndef directives
1395
1978
  * don't attempt to embed image with uri reference when data-uri is set (#157)
1396
- * accomodate trailing dot in author name (#156)
1979
+ * accommodate trailing dot in author name (#156)
1397
1980
  * don't hardcode language attribute in html backend (#185)
1398
1981
  * removed language from DocBook root node (#188)
1399
1982
  * fixed revinfo line swallowing attribute entry
@@ -1437,7 +2020,7 @@ Enhancements::
1437
2020
  * added hardbreaks option to preserve line breaks in paragraph text (#119)
1438
2021
  * :header_footer option defaults to false when using the API, unless rendering to file
1439
2022
  * added idseparator attribute to customized separator used in generated section ids
1440
- * do not number special sections (differs from AsciiDoc)
2023
+ * do not number special sections (differs from AsciiDoc.py)
1441
2024
 
1442
2025
  Compliance::
1443
2026
 
@@ -1445,7 +2028,7 @@ Compliance::
1445
2028
  * added support for name=value@ attribute syntax passed via cli (#97)
1446
2029
  * attr refs no longer case sensitive (#109)
1447
2030
  * fixed several cases of incorrect list handling
1448
- * don't allow links to consume endlines or surrounding angled brackets
2031
+ * don't allow links to consume newlines or surrounding angled brackets
1449
2032
  * recognize single quote in author name
1450
2033
  * support horizontal labeled list style
1451
2034
  * added support for the d cell style