You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the XML specification, only \t, \n, \r, and (space character) are considered whitespace and are affected by the xml:space attribute. As it has been already raised in #768, the plugin used String#trim() to remove whitespace characters, affecting also other non-XML whitespace characters:
This issue has been fixed in 6170e95. However, the fix still affects most of the characters mentioned above due to the usage of the \s character class and the issue described originally in #768 still persists.
Probably the easiest way to fix the issue is to replace the \s character class with the (space character):
According to the XML specification, only
(space character) are considered whitespace and are affected by the
\t
,\n
,\r
, andxml:space
attribute. As it has been already raised in #768, the plugin usedString#trim()
to remove whitespace characters, affecting also other non-XML whitespace characters:This issue has been fixed in 6170e95. However, the fix still affects most of the characters mentioned above due to the usage of the
\s
character class and the issue described originally in #768 still persists.Probably the easiest way to fix the issue is to replace the
(space character):
\s
character class with theThe text was updated successfully, but these errors were encountered: