Closed simonpoole closed 3 months ago
See https://github.com/openstreetmap/openstreetmap-website/issues/5118
A possible fix is to parse the page with jsoup or similar and remove the potentially offending bits if they are easily identifiable.
Doing this with jsoup is too involved and would require using the de-sugaring mode of AGP which we already know that is buggy as hell. Removing the HTML with JS, works on the other hand, but is optically ugly.
See https://github.com/openstreetmap/openstreetmap-website/issues/5118
A possible fix is to parse the page with jsoup or similar and remove the potentially offending bits if they are easily identifiable.