Closed Bug 1351965 Opened 4 years ago Closed 4 years ago
Word is not bolded in plain text when between asterisks if it ends on a number
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20170303012758 Steps to reproduce: I am using enhanced plain text e-mail formatting in some of my server logs. To distinguish parts of the e-mail I bold some words by enclosing them in asterisks. Actual results: The words that end with a number aren't displayed in bold. Expected results: All words enclosed in asterisks displayed in bold in enhanced plain text.
Yes, I can confirm that, *bold* shows in bold, *bold123* does not. It looks like this is intentional, we'd have to ask the original author why. Relevant code: https://dxr.mozilla.org/comm-central/rev/4c7c05a49f3ce40aa0969beccb397380a8907f4a/mozilla/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp#658 https://dxr.mozilla.org/comm-central/rev/4c7c05a49f3ce40aa0969beccb397380a8907f4a/mozilla/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp#1127 Ben?
Duplicate of Bug 950605
(In reply to Jorg K (GMT+1) from comment #1) > Yes, I can confirm that, *bold* shows in bold, *bold123* does not. > > It looks like this is intentional, we'd have to ask the original author why. Please refer: Bug 106028 Comment #22 and Bug 106028 Comment #63
(In reply to Alfred Peters from comment #2) > Duplicate of Bug 950605 Better: Duplicate of Bug 949066
Bug 949066 has a horrible discussion and was closed as WONTFIX, as per bug 949066 comment #8, bug 950605 was filed for this purpose. Thanks for triaging, Alfred.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 950605
You need to log in before you can comment on or make changes to this bug.