ietf-tools / rfc2html

Convert text-format RFCs and Internet-Drafts to html
BSD 3-Clause "New" or "Revised" License
30 stars 23 forks source link

fix: Use `h` tags for headings instead of classes. #12

Closed larseggert closed 2 years ago

larseggert commented 2 years ago

Fixes https://github.com/ietf-tools/datatracker/issues/3466

Also update the regex syntax for python3, to silence some deprecation warnings on import.

rjsparks commented 2 years ago

What's your opinion on our exposure to the exponential backtracking problem with the existing regex?

larseggert commented 2 years ago

I don't know.

I do know that reworking these will be difficult without proper tests, given the large body of docs it needs to work for, and that what we currently have hasn't caused apparent issues in all the years of deployment.

netjeff commented 1 year ago

Just curious when this change will roll-out to the IETF websites, including rfc-editor.org/rfc/ and datatracker.ietf.org/doc/html/ ?