Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/pandocPublic

Jira reader: Remove escaping of special chars in URLs #7218

Closed
@anxgstadler

Description

@anxgstadler

I stumbled over some irregularities with how the Jira reader treats backslashes escaping special chars within an URL, I hope you can help:

I am using Pandoc 2.13.1

  1. Starting with this HTML:
<p>https://example.com/{*}info/</p>
  1. Let pandoc transform this from HTML to Jira Markdown yields this:
https://example.com/\{\*\}info/

I suppose (?), this is correct: All special characters are being escaped.

  1. Now use pandoc to transform this from Jira Markdown back to HTML yields this:
<p><a href="https://example.com/\{\*\}info/">https://example.com/\{\*\}info/</a></p>

... and here, the backslashes escaping some special chars should have been removed.

  1. Because if this text gets transformed back to Jira Markdown, now we end up with this:
[https://example.com/&bsol;\{&bsol;\*&bsol;\}info/|https://example.com/\%7B\*\%7Dinfo/]

where the escaping backslashes from step 3 have been replaced by html entities, end all spechial chars denoting those entities have themselves been escaped by a backslash - and they will recursively be replaced on the next pass-through, increasing the mess ever more.

Thanks! :-)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp