script type attribute must use double quotes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nXhtml |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
The tag: <script type="text/
works but the tag: <script type='text/
does not.
Here is my diff to fix it.
svn diff
Index: util/mumamo-fun.el
=======
--- util/mumamo-fun.el (revision 189)
+++ util/mumamo-fun.el (working copy)
@@ -573,12 +573,13 @@
(0+ space)
"="
(0+ space)
- ?\"
+ ;;?\"
;;(or "text" "application")
;;"/"
;;(or "javascript" "ecmascript")
- "text/javascript"
- ?\"
+ ;;"text/javascript"
+ ;;?\"
+ (or "\'text/
(0+ (not (any ">")))
">"
;; FIX-ME: Commented out because of bug in Emacs
Thanks Perry. Fixed now in the new nXhtml beta 2.09 I just uploaded.