Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
maarchRM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
maarchRM
Merge requests
!82
Release/2.2
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Release/2.2
release/2.2
into
phpUnit
Overview
0
Commits
301
Pipelines
0
Changes
5
Merged
Alexandre Morin
requested to merge
release/2.2
into
phpUnit
6 years ago
Overview
0
Commits
301
Pipelines
0
Changes
5
Expand
0
0
Merge request reports
Viewing commit
ce182f63
Prev
Next
Show latest version
5 files
+
15
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
Verified
ce182f63
Merge branch 'release/2.2' of labs.maarch.org:maarch/maarchRM into release/2.2
· ce182f63
Alexandre Morin
authored
6 years ago
dependency/xml/TemplateTrait.php
+
2
−
2
Options
@@ -58,7 +58,7 @@ trait TemplateTrait
* @param string $source
*
*/
public
function
merge
(
$node
=
null
,
$source
=
null
)
public
function
merge
(
$node
=
null
,
$source
=
null
)
{
// Avoid garbage nodes merge
if
(
!
isset
(
$this
->
mergedNodes
))
{
@@ -245,7 +245,7 @@ trait TemplateTrait
$mergedValue
=
str_replace
(
$pi
,
(
string
)
$tmpTextNode
->
wholeText
,
$textNode
->
nodeValue
);
//$mergedValue = str_replace($pi, (string) $value, $textNode->nodeValue);
//
$mergedValue = htmlentities($mergedValue);
$mergedValue
=
htmlentities
(
$mergedValue
);
$textNode
->
nodeValue
=
str_replace
(
$pi
,
$value
,
$mergedValue
);
}
}
Loading