You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not consider content such as `+ foo bar+` or `+foo bar +`
as valid passthrough: no space allowed after opening `+`
or before closing `+` characters.
Fixesbytesparadise#337
Signed-off-by: Xavier Coulon <[email protected]>
Do not consider content such as `+ foo bar+` or `+foo bar +`
as valid passthrough: no space allowed after opening `+`
or before closing `+` characters.
Fixes#337
Signed-off-by: Xavier Coulon <[email protected]>
@odknt sorry for the late fix, I was deep into another issue. Please let me know if the fix is OK for you, and feel free to open new issues if you find other bugs ;)
I think the below test should be failed.
libasciidoc/pkg/parser/passthrough_test.go
Lines 170 to 188 in 00c0132
If allow contain spaces between plus and contents, parser cannot tell the difference between
SinglePlusPassThrough
andLineBreak
.asciidoctor
parsed+ *hello*, world +
as follows:The text was updated successfully, but these errors were encountered: