mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-29 11:30:28 +00:00
Fix whitespace in social media cards
Apologies @simonbaird this is the belated fix to the issue you mentioned in https://github.com/TiddlyWiki/TiddlyWiki5/pull/8441#issuecomment-2276175490
This commit is contained in:
parent
9a4aafdb41
commit
26acd9be72
@ -4,7 +4,7 @@ tags: $:/tags/RawMarkupWikified
|
|||||||
\procedure meta-plain(name,source,name-attribute:"name")
|
\procedure meta-plain(name,source,name-attribute:"name")
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<%if [<source>has[text]] %>
|
<%if [<source>has[text]] %>
|
||||||
<meta <$text text=<<name-attribute>>/>="<$text text=<<name>>/>" content="<$text text={{{ [<source>get[text]encodehtml[]] }}}/>">
|
<meta <$text text=<<name-attribute>>/>="<$text text=<<name>>/>" content="<$text text={{{ [<source>get[text]encodehtml[]] }}}/>">
|
||||||
<$text text={{{ [charcode[10]] }}}/>
|
<$text text={{{ [charcode[10]] }}}/>
|
||||||
<%endif%>
|
<%endif%>
|
||||||
\end meta-plain
|
\end meta-plain
|
||||||
@ -13,7 +13,7 @@ tags: $:/tags/RawMarkupWikified
|
|||||||
\whitespace trim
|
\whitespace trim
|
||||||
<%if [<source>has[text]] %>
|
<%if [<source>has[text]] %>
|
||||||
<$wikify name="html" text={{{ [<source>get[text]] }}} output="text">
|
<$wikify name="html" text={{{ [<source>get[text]] }}} output="text">
|
||||||
<meta <$text text=<<name-attribute>>/>="<$text text=<<name>>/>" content="<$text text={{{ [<html>encodehtml[]] }}}/>">
|
<meta <$text text=<<name-attribute>>/>="<$text text=<<name>>/>" content="<$text text={{{ [<html>encodehtml[]] }}}/>">
|
||||||
<$text text={{{ [charcode[10]] }}}/>
|
<$text text={{{ [charcode[10]] }}}/>
|
||||||
</$wikify>
|
</$wikify>
|
||||||
<%endif%>
|
<%endif%>
|
||||||
|
Loading…
Reference in New Issue
Block a user