in reply to Golf: Fix de facto HTML comments


I believe this does it right.

It is important to note that you have the --> at the end, so the string inside the comment cannot end with - or else you will have --->

use this to test it and see what it is matching:

He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady |