Error occurs when token is added as markup to custom element

Created on 7 September 2023, 10 months ago

Problem/Motivation

When a token is added to a custom element in site studio an error occurs on page-load.

The website encountered an unexpected error. Please try again later.

Twig\Error\SyntaxError: Arguments must be separated by a comma. Unexpected token "number" of value "369" ("punctuation" expected with value ","). in Twig\TokenStream->expect() (line 1 of sites/default/files/cohesion/templates/component--cohesion-cpt-test.html.twig).

Steps to reproduce

Add a token as markup to a custom element as class or id

πŸ› Bug report
Status

Active

Version

1.5

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom sabrina.liman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024