Removing double quotes from pseudo :after content

Scenario
I have a H1 text with an attribute like data-text=“My heading”
I add an :after pseudo with value attr(data-text) in css i get content: “attr(data-txt)”;
so my after isn’t not ‘My heading’ cause of the douple quotes wrapping css attr(data-txt)
There’s a way to remove the quotes?
ty

Hey @deboo

Im afraid you cannot, the content box has been broken in Bricks since a very early version. Basically It auto adds the " " regardless if you want them or not, the only work around is to write it custom.

Its a good opportunity to give at @timmse a nudge. This tickets been open since May :flushed:

Many thanks
Mick

1 Like

Still no news about this?