Hi @oxydum,
if you use the double '' in a tiddler without a given type or with type
vnd.tiddlywiki, the wiki-parser will interpret the double-single-quotes as
*bold
*formatting, which breaks your style definitions
you can do two things:
1) put your styles in another tiddler tagged $:/tags/Stylesheet , remove
the <style></style> tags therefor. either make its type application/css or
put a pragma rule on top that turns off all or certain wiki-parser rules
2) use your tiddler as it is, but put a pragma rule on top that turns off
bold formatting (bold using ''this text is bold'' won't work in that
tiddler)
a rule is set at the very top of a tiddler or at the top of a macro
it looks like this:
\rules
it follows "only" or "except"
then it follows a list of rules, see all shadow tiddlers with the title
$:/core/modules/parsers/wikiparser/rules/...
...
in your case
\rules except bold
... all rules allowed except bold
> To see the problem,
>
> try to replace quotes ;
> <style>
> .zemail::before {
> content: attr(data-de) "";
> }
> </style>
>
>
>
>
> <div
> data-de="✅"
> class="zemail">
> [email protected] <javascript:>
> </div>
>
> in the line : content: attr(data-de) "";
> by : content: attr(data-de) '';
>
>
>
> Le vendredi 1 mars 2019 11:06:41 UTC+1, S. S. a écrit :
>>
>> Does this work?
>>
>> <style>
>> .email::before {
>> content: attr(data-de) "'""'";
>> }
>> </style>
>>
>>
>> <div
>> data-de="✅"
>> class="email">
>> [email protected]
>> </div>
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/b9483b31-40fd-4c6a-a0c7-046f46712342%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.