Skip to content

Commit

Permalink
fix(parser): support inline links in quoted text (bytesparadise#464)
Browse files Browse the repository at this point in the history
provide a support with workaround: need to set the `[]` explicitly
if the URL ends with `_` or `*` when wrapped in italic or bold quotes

also, allow for document attribute substitutions in quoted text

fixes bytesparadise#456

Signed-off-by: Xavier Coulon <[email protected]>
  • Loading branch information
xcoulon authored Jan 4, 2020
1 parent 4b9cc03 commit 6acb277
Show file tree
Hide file tree
Showing 6 changed files with 2,110 additions and 1,805 deletions.
6 changes: 5 additions & 1 deletion LIMITATIONS.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,8 @@ will produce no HTML element at all, whereas Asciidoc/Asciidoctor will produce :

File inclusions are performed before the full parsing takes place. During this phase, the main file is parsed to look for `include::` directives and then replace them with the content of the file to include.
If the file to include has an empty last line, it will be ignored, so it's always a good practice to include a blank line after the `include::` directive in the main document, to avoid side-effects during
the "full" parsing.
the "full" parsing.

== Links

When using the `*` and `_` characters at the end of URLs of external links in a quoted text, the attributes markers need to be explicitly set. Eg: `+++a link to *https://foo.com/_[]*+++`.
Loading

0 comments on commit 6acb277

Please sign in to comment.