-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StartTag: invalid element name #1019
Comments
The only place I can think of that Ok, that said, the Truncator tries to close any open tags that occur at the truncation point. This is usually very solid, and i've not really found a scenario that breaks it, but clearly you have! A quick workaround is if you know the page which is causing this problem, use a manual summary seperator rather than letting it use the character limit (from More Info: https://learn.getgrav.org/content/content-pages#summary-size-and-separator I would love to get the actual page that is causing this, but that obviously is not easy to track down. If you do know the page, or can find out which one is causing it, can you provide me an exact copy of this page, plus your |
Found the culprit. I changed the character limit in site.yaml from 300 to 200 but it made no difference. Here is the offender:
|
Here's my site.yaml:
|
Thanks, it's definitely those |
Ok, step 1, replicated locally! |
Ok, had to rewrite the |
Fixed (in Grav 1.1.5) here too. After upgrading I got a "Class 'DOMLettersIterator' not found" but |
please help to solve this |
I haven't touched any code in grav in a few days... I've added maybe 7 or 8 pages and all of a sudden after going to one [only one] of my four menu items I get:
Twig_Error_Runtime An exception has been thrown during the rendering of a template ("DOMDocumentFragment::appendXML(): Entity: line 1: parser error : StartTag: invalid element name") in "partials/blog_item.html.twig" at line 53.
I'm running antimatter commit 5d98b400a and grav commit 7843b30 (1.1.3).
The text was updated successfully, but these errors were encountered: