user256890
user256890

Reputation: 3424

Forcing displaying html encoded html as html in the browser

I have a huge amount of documentation (approx 900pages) in autogenerated HTLM format. The output html often contains HTML tags that are HTML encoded. For example, instead of <br/> you see &lt;br/&gt;. This error is quite arbitrary, sometimes generated good, sometimes bad.

The generator tool is a third party application (Enterprise Architect), I have some but quite limited influence on the generation process. For example, I am able to change the DocType of the document, I am able to add some javascript. Is there a way to force the browser to interpret &lt;br/&gt; as a proper BR tag?

Upvotes: 0

Views: 35

Answers (1)

Kaizen Programmer
Kaizen Programmer

Reputation: 3818

You could write a console app that would loop through the files and fix the improper HTML. That'd probably be how I'd approached it.

Upvotes: 1

Related Questions