[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fossil-users
Subject:    Re: [fossil-users] User-defined config values
From:       Johan Kuuse <johan () kuu ! se>
Date:       2017-06-25 14:37:29
Message-ID: CAGUU1d0fLbgJkHReZyJ1i5edio6Hav2aZCsD1p0uA_p=MGW4nA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


El 25 jun. 2017 13:45, "Florian Balmer" <florian.balmer@gmail.com> escribió:

Thank you very much for your reply.

I have found two simple ways to plant a `default-homepage' tag on
unversioned wiki pages, so that the script to update the wiki pages
can just search for the tag in the output of `fossil uv cat':

1. <h1 name="default-homepage">...</h1>

2. <span style="display:none;">default-homepage</span>

But according to the Fossil Wiki Formatting Rules [0], the second
variant would not be allowed: "... any attributes that specify
javascript or CSS are elided."

[0] https://www.fossil-scm.org/index.html/wiki_rules


Using Markdown instead of Wiki, is that a valid solution for your homepage?
Markdown allows for both Javascript and CSS.

BR,
Johan



--Florian
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

[Attachment #5 (text/html)]

<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">El 25 \
jun. 2017 13:45, &quot;Florian Balmer&quot; &lt;<a \
href="mailto:florian.balmer@gmail.com">florian.balmer@gmail.com</a>&gt; escribió:<br \
type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">Thank you very much for your reply.<br> <br>
I have found two simple ways to plant a `default-homepage&#39; tag on<br>
unversioned wiki pages, so that the script to update the wiki pages<br>
can just search for the tag in the output of `fossil uv cat&#39;:<br>
<br>
1. &lt;h1 name=&quot;default-homepage&quot;&gt;...&lt;/<wbr>h1&gt;<br>
<br>
2. &lt;span style=&quot;display:none;&quot;&gt;default-<wbr>homepage&lt;/span&gt;<br>
<br>
But according to the Fossil Wiki Formatting Rules [0], the second<br>
variant would not be allowed: &quot;... any attributes that specify<br>
javascript or CSS are elided.&quot;<br>
<br>
[0] <a href="https://www.fossil-scm.org/index.html/wiki_rules" rel="noreferrer" \
target="_blank">https://www.fossil-scm.org/<wbr>index.html/wiki_rules</a></blockquote></div></div></div><div \
dir="auto"><br></div><div dir="auto">Using Markdown instead of Wiki, is that a valid \
solution for your homepage?</div><div dir="auto">Markdown allows for both Javascript \
and CSS.</div><div dir="auto"><br></div><div dir="auto">BR,</div><div \
dir="auto">Johan</div><div dir="auto"><br></div><div dir="auto"><div \
class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br> <div \
                class="elided-text"><br>
--Florian<br>
______________________________<wbr>_________________<br>
fossil-users mailing list<br>
<a href="mailto:fossil-users@lists.fossil-scm.org">fossil-users@lists.fossil-scm.<wbr>org</a><br>
 <a href="http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users" \
rel="noreferrer" target="_blank">http://lists.fossil-scm.org:<wbr>8080/cgi-bin/mailman/listinfo/<wbr>fossil-users</a><br>
 </div></blockquote></div><br></div></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic