Skip to content

Commit

Permalink
Item12011: Add a test, but it doesn't fail...
Browse files Browse the repository at this point in the history
I suspect we'll be adjusting this test once we get feedback from the
reporter of the bug

git-svn-id: http://svn.foswiki.org/trunk@15189 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
PaulHarvey authored and PaulHarvey committed Jul 25, 2012
1 parent 481be57 commit b7ac698
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions WysiwygPlugin/test/unit/WysiwygPlugin/TranslatorTests.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3510,6 +3510,24 @@ HERE
<tr> <td>
---+++ b
</td> </tr> </tbody> </table>
HERE
},
{

# Unmatched ( in regex; marked by <-- HERE in m/\
# .^V%N%^W^V%ICON{connections}%^W ==I change text== ( <-- HERE == $/ at /usr/local/ww
# w/foswiki/lib/Foswiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm line 1456.
# at /usr/local/www/foswiki/lib/Foswiki/Plugins/WysiwygPlugin/HTML2TML/Node.pm line 1456
name => "regexQuotingProblem_Item12011",
exec => $TML2HTML | $HTML2TML | $ROUNDTRIP,
tml => <<'HERE',
%N%
%ICON{connections}%
==I change text== (
HERE
html => <<'HERE',
<p><span class="WYSIWYG_PROTECTED">%N%</span><span class="WYSIWYG_PROTECTED"><br />%ICON{connections}%</span><span style="{encoded:'ns2'}" class="WYSIWYG_HIDDENWHITESPACE">&nbsp;</span>==I change text== (
</p>
HERE
},
];
Expand Down

0 comments on commit b7ac698

Please sign in to comment.