View Single Post
Old 08-10-2023, 09:38 AM   #7
nabsltd
Fanatic
nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.nabsltd ought to be getting tired of karma fortunes by now.
 
Posts: 522
Karma: 8500000
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe, Kindle 4 Touch
Quote:
Originally Posted by Karellen View Post
In the Calibre Editor, move the cursor through each individual letter of the misspelt word. "be" in your example.
I did not find any special characters, but by using the "change selected word to" and replacing the offending word with itself, the error went away. Unfortunately, this also changed the file in another way.

Before:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">

<head>
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
  <title>Chasing the Dime</title>
  <link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" />
</head>
After:
Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="en" xml:lang="en">

<head>
  
  <title>Chasing the Dime</title>
  <link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
This change makes the file no longer valid for EPUB 2...it requires the !DOCTYPE directive.
nabsltd is offline   Reply With Quote