You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
When attempting to Live Preview a file with a .xhtml extension, this error pops up:
"Live Preview Error - Open an HTML file in order to launch live preview"
I've seen this in all Sprints on Windows and Mac, up to and including the latest release (Sprint 30). This happens for any file with a .xhtml extension.
Removing the "x" from the filename fixes the problem - with a .html extension the same content previews in Chrome just fine.
I propose the Live Preview button treat .xhtml files the same as .html files - it looks like that transition was already made for syntax highlighting (#785) a while back.
The use case here (or at least my use case) is editing EPUB 3 content files, which must be XHTML conformant.