JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
test/show-off how smart whitespace checking is
authorJason Woofenden <jason@jasonwoof.com>
Mon, 7 Mar 2016 01:30:43 +0000 (20:30 -0500)
committerJason Woofenden <jason@jasonwoof.com>
Mon, 7 Mar 2016 01:30:43 +0000 (20:30 -0500)
editor_tests_compiled.html

index 8a51f25..b860a5a 100644 (file)
@@ -9,6 +9,10 @@
                        box-sizing: border-box;
                        width: 100%;
                }
+               iframe {
+                       width: 300px;
+                       height: 300px;
+               }
                /* iframe { width: 400px; } */
        </style>
 </head>
@@ -16,7 +20,8 @@
        <h1>Peach HTML5 Editor test page (compiled version)</h1>
        <p>This version of the editor test page requires that you've compiled all the source files. (Just run <code>make</code>).</p>
        <form action="#" method="get">
-       <p>HTML view. Changes here propagate when you remove your cursor (press tab or click outside)<br><textarea rows="9" cols="22" name="in" id="in">&lt;p&gt;  a b c d e f g h i j k l m n o p q r s t u v w x y z  a b c d e f g h i j k l m n o p q r s t u v w x y z                                                                a b c d e f g h i j k l m n o p q r s t u v w x y z  &lt;strong&gt;Bold &lt;em&gt; Italic+Bold&lt;/strong&gt; Italic &lt;/em&gt; Normal&lt;/p&gt;
+       <p>HTML view. Changes here propagate when you remove your cursor (press tab or click outside)<br><textarea rows="9" cols="22" name="in" id="in">&lt;p&gt;  a b c d e f g h i j k l m n o p q r s t u v w x y z  a b c d e f g h i j k l m n o p q r s t u v w x y z                                                                a b c d e f g h i j k l m n o p q r s t u v w x y z  &lt;strong&gt;Bold &lt;em&gt; Italic + Bold&lt;/strong&gt; Italic &lt;/em&gt; Normal&lt;/p&gt;
+&lt;p style="white-space: pre"&gt;    this  &amp;lt;p&amp;gt;  has    white-space: pre   &lt;/p&gt;
 
 &lt;div&gt;
        &lt;div&gt;I'm in a div&lt;/div&gt;