id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
8377,Valid acronyms with underlined wiki markup are not tagged as acronyms,AllenB,rjollos,When an acronym is underlined_ AcronymsPlugin does not detect it or add the {{{<acronym>}}} tag to it.  If the acronym contains other style elements "inside" the underline_ then the acronym is tagged as expected.\r\n\r\nFor example_ take the following wiki content:\r\n{{{Acronym test: SCSI __SCSI__ '''SCSI''' ''SCSI'' '''''SCSI''''' __''SCSI''__ __'''SCSI'''__ ''__SCSI__'' '''__SCSI__'''  '''__''SCSI''__'''}}}\r\n\r\nThe following HTML is generated (newlines added for readability):\r\n{{{\r\n#!xml\r\nAcronym test:\r\n<acronym title="Small Computer Simple Interface">SCSI</acronym>\r\n<span class="underline">SCSI</span>\r\n<strong><acronym title="Small Computer Simple Interface">SCSI</acronym></strong>\r\n<em><acronym title="Small Computer Simple Interface">SCSI</acronym></em>\r\n<strong><em><acronym title="Small Computer Simple Interface">SCSI</acronym></em></strong>\r\n<span class="underline"><em><acronym title="Small Computer Simple Interface">SCSI</acronym></em></span>\r\n<span class="underline"><strong><acronym title="Small Computer Simple Interface">SCSI</acronym></strong></span>\r\n<em><span class="underline">SCSI</span></em>\r\n<strong><span class="underline">SCSI</span></strong>\r\n<strong><span class="underline"><em><acronym title="Small Computer Simple Interface">SCSI</acronym></em></span></strong>\r\n}}}\r\nwhich displays as:\r\n{{{\r\n#!html\r\nAcronym test: <acronym title="Small Computer Simple Interface">SCSI</acronym> <span class="underline">SCSI</span> <strong><acronym title="Small Computer Simple Interface">SCSI</acronym></strong> <em><acronym title="Small Computer Simple Interface">SCSI</acronym></em> <strong><em><acronym title="Small Computer Simple Interface">SCSI</acronym></em></strong> <span class="underline"><em><acronym title="Small Computer Simple Interface">SCSI</acronym></em></span> <span class="underline"><strong><acronym title="Small Computer Simple Interface">SCSI</acronym></strong></span> <em><span class="underline">SCSI</span></em> <strong><span class="underline">SCSI</span></strong> <strong><span class="underline"><em><acronym title="Small Computer Simple Interface">SCSI</acronym></em></span></strong>\r\n\r\n}}}\r\n\r\nThe underlined text was not made into an acronym.  The underline + italics and underline + bold cases were_ but only if the underline markup was on the *outside* of the bold/italics markup.  Curiously enough_ the underline + bold + italics case works as long as the underline is not the innermost markup element.\r\n\r\nMy guess is that the parser is allowing underscores in an acronym and is interpreting the double-underscore as part of the acronym (thus it doesn't match anything in the acronym list so it doesn't get tagged).  Stripping off leading and trailing non-alphanumeric characters before comparing the text to the acronym list should fix this problem_ but I haven't tried to patch it myself so I can't say for sure.,defect,assigned,normal,AcronymsPlugin,normal,,,,0.12
