Fossil

Artifact [f3a3e7ed]
Login

Artifact [f3a3e7ed]

Artifact f3a3e7edf5c093efeda66c9dfe7baf8a34be8f87:

Attachment "src::wikiformat.c-a-target.patch" to ticket [577663c2] added by anonymous 2011-02-18 19:56:21.
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -54,15 +54,16 @@
 #define ATTR_NAME               17
 #define ATTR_ROWSPAN            18
 #define ATTR_SIZE               19
 #define ATTR_SRC                20
 #define ATTR_START              21
-#define ATTR_TYPE               22
-#define ATTR_VALIGN             23
-#define ATTR_VALUE              24
-#define ATTR_VSPACE             25
-#define ATTR_WIDTH              26
+#define ATTR_TARGET             22
+#define ATTR_TYPE               23
+#define ATTR_VALIGN             24
+#define ATTR_VALUE              25
+#define ATTR_VSPACE             26
+#define ATTR_WIDTH              27
 #define AMSK_ALIGN              0x0000001
 #define AMSK_ALT                0x0000002
 #define AMSK_BGCOLOR            0x0000004
 #define AMSK_BORDER             0x0000008
 #define AMSK_CELLPADDING        0x0000010
@@ -85,10 +86,11 @@
 #define AMSK_VALIGN             0x0200000
 #define AMSK_VALUE              0x0400000
 #define AMSK_VSPACE             0x0800000
 #define AMSK_WIDTH              0x1000000
 #define AMSK_CLASS              0x2000000
+#define AMSK_TARGET             0x4000000
 
 static const struct AllowedAttribute {
   const char *zName;
   unsigned int iMask;
 } aAttribute[] = {
@@ -112,10 +114,11 @@
   { "name",          AMSK_NAME,           },
   { "rowspan",       AMSK_ROWSPAN,        },
   { "size",          AMSK_SIZE,           },
   { "src",           AMSK_SRC,            },
   { "start",         AMSK_START,          },
+  { "target",        AMSK_TARGET,         },
   { "type",          AMSK_TYPE,           },
   { "valign",        AMSK_VALIGN,         },
   { "value",         AMSK_VALUE,          },
   { "vspace",        AMSK_VSPACE,         },
   { "width",         AMSK_WIDTH,          },