File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,17 +14,21 @@ class HtmlDiffService
1414
1515 protected $ container ;
1616
17- protected $ specialCaseTags = HtmlDiff::defaultSpecialCaseTags ;
17+ protected $ specialCaseTags ;
1818
19- protected $ specialCaseChars = HtmlDiff::defaultSpecialCaseChars ;
19+ protected $ specialCaseChars ;
2020
21- protected $ groupDiffs = HtmlDiff::defaultGroupDiffs ;
21+ protected $ groupDiffs ;
2222
2323 protected $ encoding = 'UTF-8 ' ;
2424
2525 public function __construct (ContainerInterface $ container )
2626 {
2727 $ this ->container = $ container ;
28+
29+ $ this ->specialCaseTags = HtmlDiff::$ defaultSpecialCaseTags ;
30+ $ this ->specialCaseChars = HtmlDiff::$ defaultSpecialCaseChars ;
31+ $ this ->groupDiffs = HtmlDiff::$ defaultGroupDiffs ;
2832
2933 $ this ->loadParameter (self ::PARAMETER_ENCODING , $ this ->encoding );
3034 $ this ->loadParameter (self ::PARAMETER_SPECIAL_CASE_TAGS , $ this ->specialCaseTags );
@@ -130,4 +134,4 @@ public function removeSpecialCaseChar($char)
130134 unset($ this ->specialCaseChars [$ key ]);
131135 }
132136 }
133- }
137+ }
You can’t perform that action at this time.
0 commit comments