Page 1 of 1

The element type "link" must be terminated by the matching end-tag "</link>

Posted: 25 Dec 2023, 14:14
by Anish
I cannot save the Blogger theme due to the following error.

Code: Select all

org.xml.sax.SAXParseException; lineNumber: 2940; columnNumber: 5; The element type "link" must be terminated by the matching end-tag "</link>"
How can I fix it?

Re: The element type "link" must be terminated by the matching end-tag "</link>

Posted: 29 Dec 2023, 14:11
by Alex George
I understand from your previous topic that you are converting a static HTML template into a Blogger template. HXML has some functionalities of HTML, but some rules are different.

Consider the following line below.

Code: Select all

<link rel="preconnect" href="https://fonts.googleapis.com">
It will work on HTML but create an error code "Link must be terminated by the matching end-tag.


So, to work, you must rewrite the line as given below.

Code: Select all

  <link rel="preconnect" href="https://fonts.googleapis.com" />

Re: The element type "link" must be terminated by the matching end-tag "</link>

Posted: 30 Dec 2023, 13:32
by Random Topics

Re: The element type "link" must be terminated by the matching end-tag "</link>

Posted: 11 Jan 2024, 09:40
by Anish
Thank you Alex. It worked. Now I do not get that error.