Thread
:
Warning Attribute 'lang' is not declared, docx to epub, with FlightCrew
View Single Post
09-27-2016, 07:20 AM
#
2
kovidgoyal
creator of calibre
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just use the search and replace settings in the conversion dialog, no need to involve the editor at all.
Code:
Search:<([^>+]) lang=\S+([^>]*)> Replace: <\1 \2>
Should do the trick.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS