mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
correctly tokenize double-hyphen em dashes
This commit is contained in:
parent
c4e6a988d4
commit
ab94b2f547
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ defmodule Textile.Lexer do
|
|||
sup_delim = string("^") |> unwrap_and_tag(:sup_delim)
|
||||
sub_delim = string("~") |> unwrap_and_tag(:sub_delim)
|
||||
|
||||
del_delim = lookahead_not(string("-"), string(">")) |> unwrap_and_tag(:del_delim)
|
||||
del_delim = lookahead_not(string("-"), choice([string("-"), string(">")])) |> unwrap_and_tag(:del_delim)
|
||||
|
||||
quicktxt =
|
||||
utf8_char('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz*@_{}')
|
||||
|
|
Loading…
Reference in a new issue