Thread: Parsing errors
View Single Post
Old 08-08-2026, 06:02 AM   #5
Gaia Neos
Neophyte Mugwump
Gaia Neos began at the beginning.
 
Gaia Neos's Avatar
 
Posts: 4
Karma: 10
Join Date: Aug 2026
Location: Ireland
Device: none
I reverted to the original numbered list and it solved the problem of the bulleted list.
I couldn't find anywhere to do that in set semantics in the free version of calibre. How can I do that?
It's showing an unwanted span issue. They all close, one is nested but I found out that should be ok. All are span lang except for one which I replaced but that didn't fix it.
Here's the code of the page with the span issue:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Unknown</title>

<link rel="stylesheet" type="text/css" href="stylesheet.css"/>
<link rel="stylesheet" type="text/css" href="page_styles.css"/>
</head>
<body class="calibre">
<p class="block_25" lang="en">Green Transport</p>
<p class="block_19">*</p>
<p class="block_15" lang="en">“Fossil fuel” transportation, such as cars, lorries and aeroplanes, create massive amounts of pollution. Electric cars are currently produced in a way that is harmful to the environment, and they give off radiation. </p>
<p class="block_15"><span lang="en"></span></p><span class="calibre4"> It is possible to power cars, lorries and aeroplanes with renewable energy, and to make them out of recyclable materials. Henry Ford made a car out of Hemp, and he powered it with Hemp.<span lang="en"> An aeroplane has now been made out of hemp. Electric cars were common a hundred years ago before the petroleum industry became so influential. Electric car batteries don’t need to use cobalt and lithium, they can use hemp batteries or even run on water.</span><p></p>
<p class="block_29" lang="en">Cycling is much better for the environment, and for health. Public transportation is also much more efficient and some countries are starting to power public transport with renewable energy. Walking is even better for the environment.</p>
<p class="block_29" lang="en">Ride sharing and carpooling is a greener way to get around. Instead of thousands of cars each carrying one person, we can take turns giving lifts to friends and colleagues.</p>
<p class="block_19">*</p>
<p class="block_2">*</p><span lang="en"><br class="calibre7" id="calibre_pb_45"/>
</span><p></p>
</span></body></html>

Ingram is also showing this issue:
(RSC-005): /Uses_for_a_bucket.html: Error while parsing file: element "brclass__calibre8_" not allowed anywhere; expected the element end-tag, text or element "a", "abbr", "acronym", "applet", "b",...

Thanks
Gaia Neos is offline   Reply With Quote