Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-727

MarkdownSink: Incorrect escaping inside code spans

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0, 2.0.0-M10
    • Module - Markdown
    • None

    Description

      According to https://spec.commonmark.org/0.30/#backslash-escapes

      Backslash escapes do not work in code blocks, code spans, autolinks, or raw HTML

      Currently the escaping is not disabled between Sink.inline(...) and Sink.inline(...) with "code" semantics (also used from Sink.monospaced()) (emits a code span) but only in between Sink.verbatim() and Sink.verbatim()_ (emits a code block).

      autolinks and raw HTML are currently either never emitted or don't use escaping

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: