Why stackoverflow's google prettifier works with , e.t.c tags in or tag? -
Why stackoverflow's google prettifier works with <body>, <html> e.t.c tags in <code> or <pre> tag? -
i asked question before why <code>
tag not back upwards <html>, <head>, <body>
tags. reply got not supported. few days back, in meta.stackoverflow.com, saw question stackoverflow's code highlighter (some issue). someone, answered google prettifier. noticed , remembered it. google prettifier, recommends utilize <code>
or <pre>
tags code prettifying. how stackoverflow's code tag back upwards html tags display code?
the <code>
element back upwards arbitrary content. have encode html int here, this:
<code> <html> html document </html> </code>
that's stackoverflow if type
<html> html document </html>
html
Comments
Post a Comment