Update to Drupal 8.1.1. For more information, see https://www.drupal.org/node/2718713
This commit is contained in:
parent
c0a0d5a94c
commit
9eae24d844
669 changed files with 3873 additions and 1553 deletions
|
@ -1042,7 +1042,7 @@ function locale_string_is_safe($string) {
|
|||
// inject javascript. When \Drupal\Component\Utility\Xss::filter() removes
|
||||
// part of tokens, it causes the string to not be translatable when it should
|
||||
// be translatable.
|
||||
// @see \Drupal\locale\Tests\LocaleStringIsSafeTest::testLocaleStringIsSafe()
|
||||
// @see \Drupal\Tests\locale\Kernel\LocaleStringIsSafeTest::testLocaleStringIsSafe()
|
||||
//
|
||||
// We can recognize tokens since they are wrapped with brackets and are only
|
||||
// composed of alphanumeric characters, colon, underscore, and dashes. We can
|
||||
|
|
Reference in a new issue