Preventing a line break?

I'm running tidy 5.5.70, and when tidy sees a line like:

<p>Last update: <!-- #BeginDate format:En2m -->11-Sep-2010 05:53<!--
#EndDate -->

(a single line) it turns it into:

<p>Last update: <!-- #BeginDate format:En2m -->11-Sep-2010 05:53
<!-- #EndDate -->

which, ordinarily, is a perfectly fine thing to do.

The trick is, the script we have to auto-update the timestamp inside the:

 <!-- #BeginDate format:En2m -->11-Sep-2010 05:53<!-- #EndDate -->

section can't easily handle having the end tag be on a separate line.

Is there a way that I can tell tidy to avoid cleaning up this line?
-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!

Received on Friday, 27 October 2017 16:20:32 UTC