Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!11668
Issue
#3515019
: Contact form throws error on submitting
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3515019
: Contact form throws error on submitting
issue/drupal-3515019:3515019-contact-form-throws
into
11.x
Overview
0
Commits
3
Pipelines
3
Changes
2
Open
Ishani Patel
requested to merge
issue/drupal-3515019:3515019-contact-form-throws
into
11.x
2 months ago
Overview
0
Commits
3
Pipelines
3
Changes
2
Expand
Closes
#3515019
0
0
Merge request reports
Compare
11.x
version 2
b31d6338
2 months ago
version 1
cdaecb32
2 months ago
11.x (HEAD)
and
latest version
latest version
6b2b6625
3 commits,
2 months ago
version 2
b31d6338
2 commits,
2 months ago
version 1
cdaecb32
1 commit,
2 months ago
2 files
+
5
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
core/lib/Drupal/Component/Render/FormattableMarkup.php
+
2
−
2
Options
@@ -228,14 +228,14 @@ protected static function placeholderFormat($string, array $args) {
/**
* Escapes a placeholder replacement value if needed.
*
* @param string|\Drupal\Component\Render\MarkupInterface $value
* @param string|\Drupal\Component\Render\MarkupInterface
|null
$value
* A placeholder replacement value.
*
* @return string
* The properly escaped replacement value.
*/
protected
static
function
placeholderEscape
(
$value
)
{
return
$value
instanceof
MarkupInterface
?
(
string
)
$value
:
Html
::
escape
(
$value
);
return
$value
instanceof
MarkupInterface
?
(
string
)
$value
:
Html
::
escape
(
(
string
)
$value
);
}
}
Loading