[Pidgin] #13315: highlighting *bold* and _italic_ words not quite right if * or _ last char in line
Pidgin
trac at pidgin.im
Thu Feb 3 16:21:27 EST 2011
#13315: highlighting *bold* and _italic_ words not quite right if * or _ last char
in line
-----------------------------------------------------+----------------------
Reporter: cdemwell | Owner: rekkanoryo
Type: defect | Status: new
Component: unclassified | Version: 2.7.9
Keywords: jabber highlighting asterisk underscore |
-----------------------------------------------------+----------------------
When I receive text that has words that have asterisks or underscores
around them, they show up as *bold* or _italic_ respectively. However, if
the last * or _ is the last character in the line, they show up as
'''bold*''' or ''italic_''.
Example input: this is *bold*
Example output: this is '''bold*'''
Example input: this is _italic_
Example output: this is ''italic_''
If I put a space before ending the line, this does not happen:
Example input: this is *bold* <-- note there's a space here
Example output: this is '''bold''' <-- still a space here
It seems like there's a regex that's not quite working, somewhere. This
happens using jabber via google talk, but not using MSN messenger.
--
Ticket URL: <http://developer.pidgin.im/ticket/13315>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list