URL link containing parens - not sure if properly rendered

Eduard Rozenberg's Avatar

Eduard Rozenberg

03 Jul, 2018 02:47 AM

// Please enter a detailed description of the issue // Description of the issue: Not sure it Marked2 deals with parens inside URL links properly.

// Please enter a list of steps required to reproduce the issue // Steps to reproduce:

  1. Url that looks like: https://en.wikipedia.org/wiki/Docker_(software)
  2. Rendered as: https://en.wikipedia.org/wiki/Docker_(software))
  3. An extra parens shows at end. If I try to escape the parents in the link with backslash (), Ulysses for ex. doesn't like it, replaces it with %5C, which Marked2 then doesn't like and again renders as extra parens. Not sure of what I approach I need to take to handle this properly, or if Marked2 has an issue.

// If applicable please attach a sample document that causes the issue for you. https://en.wikipedia.org/wiki/Docker_(software) // Configuration (do not edit) Marked 2 952 (Direct)

macOS Version: 10.13.6

allowPageBreakInCode: TRUE
bookTxtIsLeanpub: TRUE
summaryMdIsGitBook: TRUE
codeIsPoetry: TRUE
codeCanWrap: TRUE
collapsibleHeadlines: TRUE
convertGithubCheckboxes: TRUE
defaultMathJaxConfig: TeX-AMS-MML_HTMLorMML
defaultPreviewStyle: GitHub
defaultProcessor: Discount (GFM)
enableMiniMap: TRUE
excludeBlockQuotesFromCounts: TRUE
excludeFootnotesFromCounts: TRUE
excludeVerbatimFromCounts: TRUE
excludeCaptionsFromCounts: TRUE
folderPreviewExtensionsArray: md, markdown, txt, mdown, html, opml
githubNewlines: TRUE
h1IsPageBreak: TRUE
h2IsPageBreak: TRUE
hrIsPageBreak: TRUE
includeMathJax: TRUE
limitTextWidth: TRUE
minimalJavaScript: TRUE
permissionGranted: TRUE
printHeaderFirstPage: TRUE
printFooterFirstPage: TRUE
processHTMLFiles: TRUE
removeMetadataForPreview: TRUE
removeYAMLHeaders: TRUE
scrollToEdit: TRUE
shouldDetectCritic: TRUE
shouldHighlightMarkupErrors: TRUE
shouldLoadCritic: TRUE
syntaxHighlight: TRUE

  1. 1 Posted by Eduard Rozenber... on 03 Jul, 2018 02:48 AM

    Eduard Rozenberg's Avatar

    Attaching file since post rendered the text instead of showing it.

  2. Support Staff 2 Posted by Brett on 03 Jul, 2018 11:57 AM

    Brett's Avatar

    It only happens in the GFM processor, which might be a Marked issue but
    would be directly related to the library included for that
    functionality. You can work around it by using the percent encoded
    version of parens:



  3. 3 Posted by Eduard Rozenber... on 03 Jul, 2018 05:05 PM

    Eduard Rozenberg's Avatar

    Thank you Brett, that encoding approach worked fine.


Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac