(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-56) was last changed on 25-Apr-2008 16:30 by Isonomia  

This page was created on 22-Feb-2007 09:04 by ChristophSauer

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 285 added 26 lines
I think the simplest solution, for implementation but more importantly also for
description to the user, is to escape a single character. For instance {{{~**abc}}}
would escape the first star, leaving {{{*abc}}} which has no Creole markup; so the
result is {{{**abc}}}. Alternative notation would be {{{~*~*abc}}} or {{{*~*abc}}}.
The problem with escaping an unlimited number of identical characters is that there
are cases where you want to recognize markup; e.g. the following path in
italic: {{{///home/user~///}}}. Escaping whole Creole markup sequences isn't the way
to go, imo, because the set of markup sequence depends on the engine and on
Creole version; and when you want to escape something, it's usually to control
exactly which characters to produce in the output, not to have whole Creole
sequences.
In [[Nyctergatis]], if you choose Creole output, all "*", "#", "=", "{", etc. are escaped,
even when unnecessary. There are still some characters from more exotic markup
which should be escaped but aren't, but this hints that this escaping rule is
very simple to apply.
In inline nowiki, there is already the following sequence for the single right brace
(it seems to be impossible to write it with the current engine used by wikicreole,
so I've replaced braces with parenthesis): {{{))))(((}}}.
Not very pretty, but if we add something else, we'll need to escape more
characters; I'm not sure it's worth the trouble.
-- [[YvesPiguet]], 2007-Mar-06
Version Date Modified Size Author Changes ... Change note
56 25-Apr-2008 16:30 26.657 kB Isonomia to previous
55 05-Jul-2007 13:27 26.373 kB DanieleC. to previous | to last
54 24-Apr-2007 20:27 26.215 kB ChristophSauer to previous | to last moved from talk: question about escaping
53 10-Apr-2007 20:25 22.625 kB 85.221.141.46 to previous | to last um, EscapeCharacterComparison?
52 10-Apr-2007 15:47 22.467 kB YvesPiguet to previous | to last Yes, it's NotNew
51 10-Apr-2007 13:54 21.843 kB 85.221.141.46 to previous | to last Is this NotNew
50 03-Apr-2007 11:34 21.438 kB 141.7.56.2 to previous | to last escape comic
49 30-Mar-2007 00:06 21.265 kB RadomirDopieralski to previous | to last escaping hard to "master"
48 08-Mar-2007 11:58 21.087 kB RadomirDopieralski to previous | to last sorry for panic
47 08-Mar-2007 10:44 20.576 kB ChuckSmith to previous | to last "diff bug" actually "Creole filter bug"
46 08-Mar-2007 08:01 19.98 kB RadomirDopieralski to previous | to last between 16 and 17
45 08-Mar-2007 08:00 19.874 kB RadomirDopieralski to previous | to last 16 and 17
44 08-Mar-2007 07:07 19.516 kB ChristophSauer to previous | to last can you tell me the version numbers
43 07-Mar-2007 19:01 19.362 kB RadomirDopieralski to previous | to last wrong diff?
42 07-Mar-2007 11:08 18.968 kB YvesPiguet to previous | to last Reply
41 07-Mar-2007 10:33 17.939 kB RadomirDopieralski to previous | to last sarcasm, clarity, subscript
« This page (revision-56) was last changed on 25-Apr-2008 16:30 by Isonomia