We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac53e3f commit 893894cCopy full SHA for 893894c
bikeshed/headings.py
@@ -65,8 +65,12 @@ def checkPrivacySecurityHeadings(headings):
65
security = True
66
if "privacy" in text and "considerations" in text:
67
privacy = True
68
+ if "security" in text and "privacy" in text and "considerations" in text:
69
+ warn(
70
+ "W3C policy requires Privacy Considerations and Security Considerations to be separate sections, but you appear to have them combined into one.",
71
+ el=header,
72
+ )
73
if security and privacy:
- # No need to look any further!
74
return
75
if not security and not privacy:
76
warn(
0 commit comments