zzyengineer / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

Name of generated elements should be lowercase #197

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
JavaScript logic in google-code-prettify populates the original code with 
elements in uppercase (SPAN, OL, LI, PRE), therefore, it is not suitable for 
XHTML documents. The solution is extremely simple: create new elements using 
tag names in lowercase: span, ol, li and pre. They will work with both: HTML 
and XHTML documents.

Thanks so much and best regards.

Original issue reported on code.google.com by jeiss...@gmail.com on 12 Mar 2012 at 10:22

GoogleCodeExporter commented 9 years ago
Fixed at http://code.google.com/p/google-code-prettify/source/detail?r=196#

Original comment by mikesamuel@gmail.com on 30 Mar 2012 at 2:27

GoogleCodeExporter commented 9 years ago
Missed a few.  See 
http://code.google.com/p/google-code-prettify/source/detail?r=197# also.  CSS 
already uses lower-case element names consistently.

Original comment by mikesamuel@gmail.com on 30 Mar 2012 at 2:36