On 23/08/12 17:03, Simon Tremblay wrote:
My last one in the same thread (Re: [fossil-users] Is there a way to disable wiki links when using HTML? <http://www.mail-archive.com/[email protected]/msg09413.html>) seems to have been dropped from the mailing list too. But we both appeared in the fossil-users Digest, Vol 55, Issue 42. It is indeed odd. --------------------------------------------------- Simon Tremblay ---------------------------------------------------
Have asked for help with this issue from the list owner ([email protected]), still awaiting reply. The problem is not the message header (my dropped resend was in reply to a message that I had already successfully replied to). So I'm guessing there must be something in the messages that is causing the problem. To test this hypothesis I'm including the dropped message here: DROPPED MESSAGE TEXT FOLLOWS: Re: [fossil-users] Is there a way to disable wiki links when using HTML? On 22/08/12 01:35, Cunningham, Robert wrote: > My solution was to globally replace all left square brackets with [ > > -BobC Thank you for the suggestion, it works for displayed text, but there are two important use cases that do not work: embedded JavaScript and embedded CSS. This is because HTML5 <style> and <script> tags cannot contain character entities (http://www.w3.org/TR/html-markup/style.html#style and http://www.w3.org/TR/html-markup/script.html). For example, this JavaScript doesn't work (tested in Chrome 21 and Firefox 14): <script> a = [1,2,3]; alert('a[0]='+a[0]); </script> Nor does this: <script> a = [1,2,3]; alert('a[0]='+a[0]); </script> This CSS selector table[rules="all"] does not work when replaced with table[rules="all"] (tested in Chrome 21 and Firefox 14). This example is from a scoped style tag in my HTML wiki page which legal in HTML5 (Fossil's wiki doctype) even though the current crop of browsers just cascade the CSS into the global namespace. So it looks like there is no way to include embedded CSS or JavaScript in wiki pages which seems to contradict the documentation on the Fossil WWW Configuration page: "it is very possible for malicious users to inject dangerous HTML, CSS and JavaScript code into your wiki". Cheers, Stuart > >> -----Original Message----- >> From: [email protected] [mailto:fossil-users- >> [email protected]] On Behalf Of Stuart Rackham >> Sent: Monday, August 20, 2012 10:21 PM >> To: Fossil SCM user's discussion >> Subject: Re: [fossil-users] Is there a way to disable wiki links when using >> HTML? >> >> >> >> On 21/08/12 17:08, rene wrote: >>> nowiki? >> >> I tried enveloping the HTML in the nowiki tag but it had not effect. I also took >> a look at the the source in wikiformat.c for clues but it looks to me like the >> nextRawToken() function is unconditionally parsing wiki links. >> >> >>> On Tue, 21 Aug 2012 05:10:04 +0200, [email protected] >> scm.org wrote: >>>> Hi >>>> >>>> The text in my HTML wiki pages contains square brackets and they are >>>> being translated into HTML links to non-existent wiki pages. I've >>>> ticked the 'Use HTML as wiki markup language' configuration option to >>>> allow me to use pure HTML in my wiki pages but I've been unable to >>>> find a way of disabling wiki links [...]. Does anyone know how I can >>>> do this? >>>> >>>> Cheers, Stuart >>>> _______________________________________________ >>>> fossil-users mailing list >>>> [email protected] >>>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-user >>>> s >>> >>> _______________________________________________ >>> fossil-users mailing list >>> [email protected] >>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >>> >> _______________________________________________ >> fossil-users mailing list >> [email protected] >> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

