Skip to content

Commit bf20160

Browse files
committed
release: doc update and 1.1.1
1 parent c75282c commit bf20160

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ $bbCode->addParser(
119119
$bbCode->convertToHtml('[link target=www.yourlinkhere.com]Text to be displayed[/link].');
120120
```
121121

122+
### `addHtmlParser(string $name, string $pattern, string $replace, string $content)`
123+
Add HTML parser to translate pattern to desired one.
124+
125+
See `addParser` for example code.
126+
122127
### `addLinebreakParser()`
123128

124129
Adds linebreak parser to BBCode parsers list to convert newlines to `<br />` in HTML.

0 commit comments

Comments
 (0)