Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
scriptlog:lib:core:html [2026/09/26 09:16] – admin adminscriptlog:lib:core:html [2026/09/26 09:34] (current) – admin admin
Line 45: Line 45:
 | protected | ''makeParagraphs()'' | Convert an unformatted text block to paragraphs | 197 | | protected | ''makeParagraphs()'' | Convert an unformatted text block to paragraphs | 197 |
 | public | ''filter()'' | Filters HTML content through whitelist of tags and attributes | 231 | | public | ''filter()'' | Filters HTML content through whitelist of tags and attributes | 231 |
-| protected | ''cleanAttributeNode()'' | @SuppressWarnings(PHPMD.ElseExpression) | 302 |+| protected | ''cleanAttributeNode()'' |  | 302 |
 | protected static | ''linkAttributes()'' | Modify links to display their domains and add 'nofollow'. | 360 | | protected static | ''linkAttributes()'' | Modify links to display their domains and add 'nofollow'. | 360 |
 | protected | ''cleanNodes()'' | Iterate through each tag and add non-whitelisted tags to the | 397 | | protected | ''cleanNodes()'' | Iterate through each tag and add non-whitelisted tags to the | 397 |
Line 109: Line 109:
  
 //lines 302–353 (52)// //lines 302–353 (52)//
- 
-@SuppressWarnings(PHPMD.ElseExpression) 
  
 ^  Parameter ^  Type ^  Default ^  Description ^ ^  Parameter ^  Type ^  Default ^  Description ^
scriptlog/lib/core/html.1790414217.txt.gz · Last modified: by admin