View Single Post
Old Yesterday, 12:42 PM   #1
Derell Licht
Member
Derell Licht began at the beginning.
 
Derell Licht's Avatar
 
Posts: 21
Karma: 10
Join Date: Jul 2016
Location: Fremont, CA
Device: Kindle Paperwhite Signature Edition
Sigil 2.6.2 - help with html error

As I posted in a recent thread, I got an error message while loading an html file into Sigil. The message said "line 30: Expected '>' or '/', but got ':'.

I traced this back to a script block which displayed a license notice (shown below). When I deleted this script block, the file loaded into Sigil with no problems, and I was able to convert it to epub with no further issues.

However, this block does *not* appear to contain any colons?!?! Line 30 is at the @licend line... why was I getting this error??

Code:
<script  nonce="1103b75ea8a534e00bd01d677f2ea330" >
/* @licstart  The following is the entire license notice for the
 * JavaScript code in this page.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @licend  The above is the entire license notice
 * for the JavaScript code in this page.
 */
</script>
Derell Licht
Derell Licht is offline   Reply With Quote