Skip to content

Commit

Permalink
fix: disable raw/include in RST (#8300)
Browse files Browse the repository at this point in the history
* fix: disable raw/include in RST

* fix: suppress warnings
  • Loading branch information
jennifer-richards authored Dec 5, 2024
1 parent e5b6e33 commit f76137e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ietf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1149,11 +1149,14 @@ def skip_unreadable_post(record):
MARKUP_SETTINGS = {
'restructuredtext': {
'settings_overrides': {
'report_level': 3, # error (3) or severe (4) only
'initial_header_level': 3,
'doctitle_xform': False,
'footnote_references': 'superscript',
'trim_footnote_reference_space': True,
'default_reference_context': 'view',
'raw_enabled': False, # critical for security
'file_insertion_enabled': False, # critical for security
'link_base': ''
}
}
Expand Down

0 comments on commit f76137e

Please sign in to comment.