View Single Post
Old 07-18-2017, 12:00 PM   #152
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by Tex2002ans View Post
I was working on a book with some HTML comments and ran across this with Smarten Punctuation:

Before:

<!--?xml version="1.0" encoding="UTF-8"?-->

After:

<!--?xml version=“1.0” encoding=“UTF-8”?-->

Perhaps smartening should completely ignore HTML Comments? There is the possibility that comments could be designed in very specific ways (requiring unsmartened quotes).
While I agree with you in general, I feel obliged to point out that the case you cite is an oddball. A proper XML declaration - which would require dumb quotes - doesn't use the HTML comment markers. It looks like, in your case, someone manually commented out the declaration for some reason. In short, the change looks weird, but it doesn't actually affect anything.
Rev. Bob is offline   Reply With Quote