Ticket #13 (closed defect: wontfix)
bold words
| Reported by: | deveiant | Owned by: | deveiant |
|---|---|---|---|
| Milestone: | Old Bugfixes | Component: | MarkdownSyntax |
| Version: | 1.0.0fc2 | Severity: | normal |
| Keywords: | single character bold | Cc: |
Description
surrounding single characters with double-asterixes doesn't result with them being treated as bold.
For example these should be interpreted as being bold:
this should be in bold
a
The first line is seen as bold, but not the second single line, instead the plain text: "*a*" is printed (omit quotes).
Change History
comment:3 Changed 5 years ago by self@…
Okay that comment didn't come out right. I think WikiFormatting is probably not a good idea in a defect comment where *exact* formatting could be essential to reading it right.
My examples were (without the spaces) "_ _ i s _ _" and "_ _ o t h e r s t r i n g _ _"
comment:4 Changed 5 years ago by bugs+bluecloth@…
The problem lies with the regular expressions for bold and italic. Using these fixes the problem:
BoldRegexp? = %r{ (\*\*|) (\S\S?|\S.+?\S) \1 }x ItalicRegexp? = %r{ (\*|_) (\S\S?|\S.+?\S) \1 }x
comment:5 Changed 4 years ago by garrett@…
has this been fixed yet? i see it as assigned but not resolved. if you've got a fix, when will it be in place?
