Skip to content

Commit

Permalink
Item13291: Anchor and Query params are swapped
Browse files Browse the repository at this point in the history
Checking in a failing unit test.  Anchor should always be last in the
string.  TML2HTML works correctly,   HTML2TML swaps the position.
  • Loading branch information
gac410 committed Mar 5, 2015
1 parent 76e46c3 commit 7d0a4b9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions WysiwygPlugin/test/unit/WysiwygPlugin/TranslatorTests.pm
Expand Up @@ -1863,6 +1863,15 @@ HERE
tml => '[[FAQ.NetworkInternet#Pomona_Network][Test Link]]',
html =>
"${LINKON}[[FAQ.NetworkInternet#Pomona_Network][Test Link]]${LINKOFF}",
},
{
# Item13291 - Anchors should be last
exec => ROUNDTRIP | TML2HTML,
name => 'anchoredLinkQuery',
tml => '[[FAQ.NetworkInternet?rev=1#Pomona_Network][Test Link]]',
html =>
'<p> <a class=\'TMLlink\' href="FAQ.NetworkInternet?rev=1#Pomona_Network">Test Link</a>
</p>'
},
{
exec => TML2HTML | ROUNDTRIP,
Expand Down

0 comments on commit 7d0a4b9

Please sign in to comment.