Skip to content

Markdown parsing of $) fails in 1.10alpha #332

Closed
@nilshg

Description

@nilshg

As discussed on Slack:

Noticed this when runnning some old code that had a Value (million US$) in a mardown block. In 1.9:

 julia> md""" ( $ ) """
   ( $ )
 
 julia> md""" ($ ) """
   ($ )
 
 julia> md""" ( $) """
   ( $)

in 1.10:

 julia> md""" ( $ ) """
   ( $ )
 
 julia> md""" ($ ) """
   ($ )
 
 julia> md""" ( $) """
 ┌ Error: JuliaSyntax parser failed — falling back to flisp!
 │   exception =
 │    BoundsError: attempt to access empty SubString{String} at index [0]

I can work around this by escaping the $ but I guess it's a regression from the old parser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions