File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file.
3
3
4
4
The project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
5
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
+
6
14
## [ 1.0.1] - 2017-07-17
7
15
### Added
8
16
- Add parser functionality.
Original file line number Diff line number Diff line change @@ -110,6 +110,11 @@ final class BBCodeParser extends Parser {
110
110
'replace ' => '<td>$1</td> ' ,
111
111
'content ' => '$1 ' ,
112
112
],
113
+ 'linebreak ' => [
114
+ 'pattern ' => '/\r\n/ ' ,
115
+ 'replace ' => '<br /> ' ,
116
+ 'content ' => '' ,
117
+ ],
113
118
];
114
119
115
120
public function stripTags (string $ source ): string
You can’t perform that action at this time.
0 commit comments