When adding field to any content type with Field ui then it doesn't display the help text allowed tags well formatted.

Problem/Motivation

1. Add text field to any content type by going Manage fields tab.
2. Under Help text allowed tags help text is not well formatted.

field setting help text formatting issue

Proposed resolution

None

Remaining tasks

None

User interface changes

None

API changes

None

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

msankhala’s picture

After digging into code i found FieldInstanceEditForm class under field ui module src/From/FieldInstanceEditForm.php at line 130.
issue with string concatenation sequence and one unnecessary call to t() function. Making whole description string in one t() call solve this problem. Adding patch.

swentel’s picture

Status: Active » Closed (duplicate)

Interesting, but there's an existing issue for that, see #2309929: HTML double-escaping in field forms - there's some weirdness with twig, but if your patch works, you can upload it there as well, thanks!