<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Lithium issue: Phone (small) viewport post editor does not handle HTML coded characters properly in Community Site Feedback</title>
    <link>https://community.plus.net/t5/Community-Site-Feedback/Lithium-issue-Phone-small-viewport-post-editor-does-not-handle/m-p/1631747#M15470</link>
    <description>&lt;UL style="box-sizing: border-box; clear: left; color: #494c4f; font-family: arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 500; letter-spacing: normal; list-style-image: none; list-style-position: outside; list-style-type: disc; margin-bottom: 12px; margin-top: 0px; orphans: 2; padding-left: 24px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;
&lt;LI style="box-sizing: border-box;"&gt;What browser and version number this was seen on&lt;BR /&gt;Safri (iPhone) iOS 12&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;The operating system&lt;BR /&gt;iOS 12.2&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;A description of what is happening compared to what should be happening&lt;BR /&gt;The post editor on small viewport devices is not the rich text editor as used on larger screens.&amp;nbsp; It is some form of smart text editor.&amp;nbsp; Experience suggests that on posting from that editor, text is parsed and special characters (ampersand, greater-than, less-than, non-breaking-space etc) are converted into their HTML special character form as in...&lt;BR /&gt;
&lt;PRE&gt;&amp;amp;nbsp;&lt;/PRE&gt;
All is fine until one attempts to edit in the small viewport editor a post created in the small viewport editor...&lt;BR /&gt;&lt;BR /&gt;HTML is (to varying degrees of sensibility) stripped out, except the encoded HTML special characters which then just appear in the text as text, viz...&lt;BR /&gt;
&lt;PRE&gt;Double  spaced  text&lt;/PRE&gt;
Becomes&lt;BR /&gt;
&lt;PRE&gt;Double &amp;amp;nbsp;spaced &amp;amp;nbsp;text&lt;/PRE&gt;
Which upon being saved, is not saved as HTML special characters, but as literal text.&lt;BR /&gt;&lt;BR /&gt;Whatever the smart small viewport editor can encode into HTML it should be capable of decoding, so if it converts "double space" to "a space and a HTML non-breaking-space" then that is what should be seen on seeking to edit the post.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;The steps needed to replicate the problem
&lt;OL&gt;
&lt;LI style="box-sizing: border-box;"&gt;Create post on a smart phone which does not use the rich text editor, which has characters which will be encoded as HTML special characters (double-space is a favourite!)&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Save the post&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;View the new post and select edit post&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Observe the rendering of HTML special character codes as plain text&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Save the post, observe that the HTML special code characters now form part of the post's text&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;The URL where the problem occurs&lt;BR /&gt;Any post created and edited on the small viewport editor&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;A screenshot (if possible)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture HTML Chars.JPG" style="width: 837px;"&gt;&lt;img src="https://community.plus.net/t5/image/serverpage/image-id/16372iEEFF90448CB5A20C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture HTML Chars.JPG" alt="Capture HTML Chars.JPG" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Any additional information.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Mon, 15 Apr 2019 22:49:08 GMT</pubDate>
    <dc:creator>Townman</dc:creator>
    <dc:date>2019-04-15T22:49:08Z</dc:date>
    <item>
      <title>Lithium issue: Phone (small) viewport post editor does not handle HTML coded characters properly</title>
      <link>https://community.plus.net/t5/Community-Site-Feedback/Lithium-issue-Phone-small-viewport-post-editor-does-not-handle/m-p/1631747#M15470</link>
      <description>&lt;UL style="box-sizing: border-box; clear: left; color: #494c4f; font-family: arial; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 500; letter-spacing: normal; list-style-image: none; list-style-position: outside; list-style-type: disc; margin-bottom: 12px; margin-top: 0px; orphans: 2; padding-left: 24px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;
&lt;LI style="box-sizing: border-box;"&gt;What browser and version number this was seen on&lt;BR /&gt;Safri (iPhone) iOS 12&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;The operating system&lt;BR /&gt;iOS 12.2&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;A description of what is happening compared to what should be happening&lt;BR /&gt;The post editor on small viewport devices is not the rich text editor as used on larger screens.&amp;nbsp; It is some form of smart text editor.&amp;nbsp; Experience suggests that on posting from that editor, text is parsed and special characters (ampersand, greater-than, less-than, non-breaking-space etc) are converted into their HTML special character form as in...&lt;BR /&gt;
&lt;PRE&gt;&amp;amp;nbsp;&lt;/PRE&gt;
All is fine until one attempts to edit in the small viewport editor a post created in the small viewport editor...&lt;BR /&gt;&lt;BR /&gt;HTML is (to varying degrees of sensibility) stripped out, except the encoded HTML special characters which then just appear in the text as text, viz...&lt;BR /&gt;
&lt;PRE&gt;Double  spaced  text&lt;/PRE&gt;
Becomes&lt;BR /&gt;
&lt;PRE&gt;Double &amp;amp;nbsp;spaced &amp;amp;nbsp;text&lt;/PRE&gt;
Which upon being saved, is not saved as HTML special characters, but as literal text.&lt;BR /&gt;&lt;BR /&gt;Whatever the smart small viewport editor can encode into HTML it should be capable of decoding, so if it converts "double space" to "a space and a HTML non-breaking-space" then that is what should be seen on seeking to edit the post.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;The steps needed to replicate the problem
&lt;OL&gt;
&lt;LI style="box-sizing: border-box;"&gt;Create post on a smart phone which does not use the rich text editor, which has characters which will be encoded as HTML special characters (double-space is a favourite!)&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Save the post&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;View the new post and select edit post&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Observe the rendering of HTML special character codes as plain text&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Save the post, observe that the HTML special code characters now form part of the post's text&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;The URL where the problem occurs&lt;BR /&gt;Any post created and edited on the small viewport editor&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;A screenshot (if possible)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture HTML Chars.JPG" style="width: 837px;"&gt;&lt;img src="https://community.plus.net/t5/image/serverpage/image-id/16372iEEFF90448CB5A20C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture HTML Chars.JPG" alt="Capture HTML Chars.JPG" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI style="box-sizing: border-box;"&gt;Any additional information.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 15 Apr 2019 22:49:08 GMT</pubDate>
      <guid>https://community.plus.net/t5/Community-Site-Feedback/Lithium-issue-Phone-small-viewport-post-editor-does-not-handle/m-p/1631747#M15470</guid>
      <dc:creator>Townman</dc:creator>
      <dc:date>2019-04-15T22:49:08Z</dc:date>
    </item>
  </channel>
</rss>

