mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-27 05:46:55 +00:00
Fix problem with SVG background images that include parenthesis
See discussion https://groups.google.com/d/topic/tiddlywiki/GEmh0rwAHcY/discussion
This commit is contained in:
parent
c5b478efe7
commit
f366a74f68
@ -6,10 +6,10 @@ tags: [[$:/tags/Stylesheet]]
|
||||
<$list filter="[<background>is[image]]">
|
||||
`background: url(`
|
||||
<$list filter="[<background>!has[_canonical_uri]]">
|
||||
<$macrocall $name="datauri" title={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}/>
|
||||
`"`<$macrocall $name="datauri" title={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}/>`"`
|
||||
</$list>
|
||||
<$list filter="[<background>has[_canonical_uri]]">
|
||||
<$view tiddler={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}} field="_canonical_uri"/>
|
||||
`"`<$view tiddler={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}} field="_canonical_uri"/>`"`
|
||||
</$list>
|
||||
`) center center;`
|
||||
`background-attachment: `{{$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment}}`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user