Fossil

Diff
Login

Differences From Artifact [adf0127487]:

To Artifact [2befacbb7b]:


35
36
37
38
39
40
41
42

43
44
45
46
47
48
49
#define WIKI_SAFE             0x0080  /* Make the result safe for embedding */
#define WIKI_TARGET_BLANK     0x0100  /* Hyperlinks go to a new window */
#define WIKI_NOBRACKET        0x0200  /* Omit extra [..] around hyperlinks */
#define WIKI_MARKDOWN_URL     0x0400  /* Process link targets as in markdown */
#define WIKI_MARKDOWN_FONT    0x0800  /* Accept markdown font/style markup */
#define WIKI_MARKDOWN_LINK    0x1000  /* Accept markdown hyperlinks */
#define WIKI_MARKDOWN_INLINE  0x1800  /* Combo of _FONT and _LINK */
#define WIKI_ADMIN          0x800  /* Ignore g.perm.Hyperlink */

#endif


/*
** These are the only markup attributes allowed.
*/
enum allowed_attr_t {







|
>







35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#define WIKI_SAFE             0x0080  /* Make the result safe for embedding */
#define WIKI_TARGET_BLANK     0x0100  /* Hyperlinks go to a new window */
#define WIKI_NOBRACKET        0x0200  /* Omit extra [..] around hyperlinks */
#define WIKI_MARKDOWN_URL     0x0400  /* Process link targets as in markdown */
#define WIKI_MARKDOWN_FONT    0x0800  /* Accept markdown font/style markup */
#define WIKI_MARKDOWN_LINK    0x1000  /* Accept markdown hyperlinks */
#define WIKI_MARKDOWN_INLINE  0x1800  /* Combo of _FONT and _LINK */
#define WIKI_ADMIN            0x2000  /* Ignore g.perm.Hyperlink */
#define WIKI_OVERRIDE         0x4000  /* Ignore setting "wiki-version" */
#endif


/*
** These are the only markup attributes allowed.
*/
enum allowed_attr_t {