mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
No dl
This commit is contained in:
parent
ffc86e1636
commit
a44d7419a5
@ -712,6 +712,11 @@ def process_doxygen_line(line: str) -> str:
|
||||
if CONTEXT.doxy_inside_sip_run == 2:
|
||||
return ""
|
||||
|
||||
if re.search(r'<(?:dl|dt|dd>)', line):
|
||||
exit_with_error(
|
||||
"Don't use raw html <dl>, <dt> or <dd> tags in documentation. "
|
||||
"Use markdown headings instead")
|
||||
|
||||
# Detect code snippet
|
||||
code_match = re.search(r'\\code(\{\.?(\w+)})?', line)
|
||||
if code_match:
|
||||
|
Loading…
x
Reference in New Issue
Block a user