0

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?

3
  • You could write a console app that would loop through the files and fix the inproper HTML. That'd probably be how I approached it. Commented Jun 27, 2016 at 14:39
  • "HTTP encoded" — It's HTML encoded not HTTP encoded. Commented Jun 27, 2016 at 14:42
  • @Michael_B: thanx for the tip. I did it, and it works. If you make your comment an answer, I will accept it. Commented Jun 27, 2016 at 15:11

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.