Skip to content

Commit d304b3c

Browse files
jpradojschroed91
authored andcommitted
Add previously undocumented config option: setKeepNewLines(false) (#83)
1 parent 4bad5c6 commit d304b3c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ $config
154154
'i' => '[[REPLACE_I]]',
155155
'a' => '[[REPLACE_A]]',
156156
))
157+
158+
// Sets whether newline characters are kept or removed when `$htmlDiff->build()` is called.
159+
// For example, if your content includes <pre> tags, you might want to set this to true.
160+
->setKeepNewLines(false)
157161
;
158162

159163
```

0 commit comments

Comments
 (0)