We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8c7b85 commit c9b012fCopy full SHA for c9b012f
2 files changed
CHANGELOG.MD
@@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file.
3
4
The project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
5
6
+## [1.0.3] - 2017-07-18
7
+### Added
8
+- Newline parser
9
+
10
+## [1.0.2] - 2017-07-18
11
+### Changed
12
+- Fix add parser issue having missing content.
13
14
## [1.0.1] - 2017-07-17
15
### Added
16
- Add parser functionality.
src/Parser/BBCodeParser.php
@@ -110,6 +110,11 @@ final class BBCodeParser extends Parser {
110
'replace' => '<td>$1</td>',
111
'content' => '$1',
112
],
113
+ 'linebreak' => [
114
+ 'pattern' => '/\r\n/',
115
+ 'replace' => '<br />',
116
+ 'content' => '',
117
+ ],
118
];
119
120
public function stripTags(string $source): string
0 commit comments