Duplicated extra code in HTML filter output
Original [issue 170](https://code.google.com/p/okapi/issues/detail?id=170) created by @ysavourel on 2011-03-15T22:14:32.000Z:
In a ASP file with <%...%> tags there are cases where we get duplicated output:
For example the input:
"<li><a href="link1.asp" <% If strPage = "link2.asp" Then %> class="current" <%End If%> >Pay My Visa Fee</a></li>"
is written back:
"<li><a href="link1.asp" <% If strPage = "link2.asp" Then %> class="current" <%End If%> ><% If strPage = "link2.asp" Then %><%End If%>Pay My Visa Fee</a></li>"
It looks like an inline code is duplicated? Or a problem with references? or something twice added to the skeleton?
The XLIFF output show just one reference to a document-part, but it also merges the duplicated code.
I've used a simple re-write to reproduce the issue. -ys
Comments (4)
-
Account Deleted -
Account Deleted Comment [3.](https://code.google.com/p/okapi/issues/detail?id=170#c3) originally posted by @ysavourel on 2011-03-15T22:56:40.000Z:
changed to enhancement - we don't officially support asp/jsp tagged formats with the html filter
-
Account Deleted Comment [4.](https://code.google.com/p/okapi/issues/detail?id=170#c4) originally posted by @ysavourel on 2011-05-05T16:00:16.000Z:
Actually this already in the Issue list. So just noting the action item for the teleconference: Jim to try to handle the case in the AbstractMarkup filter.
-
- changed status to resolved
fixed in latest okapi
- Log in to comment
Comment [1.](https://code.google.com/p/okapi/issues/detail?id=170#c1) originally posted by @ysavourel on 2011-03-15T22:33:31.000Z:
It looks like there are two Document-parts that get generated: one with the reference to the <a link> and then one with just the <%...%> part that gets duplicated. -ys