| 1 | source markupparser.tcl |
|---|
| 2 | |
|---|
| 3 | set text { |
|---|
| 4 | This is a one line paragraph. |
|---|
| 5 | |
|---|
| 6 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 7 | and a [%Button|magic%]. |
|---|
| 8 | |
|---|
| 9 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 10 | the next line because it's so long and to be indented properly when it |
|---|
| 11 | gets there. |
|---|
| 12 | |
|---|
| 13 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 14 | the next line because it's so long and to be indented properly when it |
|---|
| 15 | gets there. |
|---|
| 16 | |
|---|
| 17 | This is a two line |
|---|
| 18 | Preformatted paragraph. |
|---|
| 19 | * <i>Three</i> |
|---|
| 20 | ** Bulleted |
|---|
| 21 | *** Paragraphs |
|---|
| 22 | #--- |
|---|
| 23 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 24 | and [%Another|Button [with brackets]%]. |
|---|
| 25 | |
|---|
| 26 | [@Bogus Macro@] |
|---|
| 27 | #hash check |
|---|
| 28 | : And one <h>indented</h> one. |
|---|
| 29 | |
|---|
| 30 | And the rest is preformatted, |
|---|
| 31 | * No matter what it is. |
|---|
| 32 | |
|---|
| 33 | This is a one line paragraph. |
|---|
| 34 | |
|---|
| 35 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 36 | and a [%Button|magic%]. |
|---|
| 37 | |
|---|
| 38 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 39 | the next line because it's so long and to be indented properly when it |
|---|
| 40 | gets there. |
|---|
| 41 | |
|---|
| 42 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 43 | the next line because it's so long and to be indented properly when it |
|---|
| 44 | gets there. |
|---|
| 45 | |
|---|
| 46 | This is a two line |
|---|
| 47 | Preformatted paragraph. |
|---|
| 48 | * <i>Three</i> |
|---|
| 49 | ** Bulleted |
|---|
| 50 | *** Paragraphs |
|---|
| 51 | #--- |
|---|
| 52 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 53 | and [%Another|Button [with brackets]%]. |
|---|
| 54 | |
|---|
| 55 | [@Bogus Macro@] |
|---|
| 56 | #hash check |
|---|
| 57 | : And one <h>indented</h> one. |
|---|
| 58 | |
|---|
| 59 | And the rest is preformatted, |
|---|
| 60 | * No matter what it is. |
|---|
| 61 | |
|---|
| 62 | This is a one line paragraph. |
|---|
| 63 | |
|---|
| 64 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 65 | and a [%Button|magic%]. |
|---|
| 66 | |
|---|
| 67 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 68 | the next line because it's so long and to be indented properly when it |
|---|
| 69 | gets there. |
|---|
| 70 | |
|---|
| 71 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 72 | the next line because it's so long and to be indented properly when it |
|---|
| 73 | gets there. |
|---|
| 74 | |
|---|
| 75 | This is a two line |
|---|
| 76 | Preformatted paragraph. |
|---|
| 77 | * <i>Three</i> |
|---|
| 78 | ** Bulleted |
|---|
| 79 | *** Paragraphs |
|---|
| 80 | #--- |
|---|
| 81 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 82 | and [%Another|Button [with brackets]%]. |
|---|
| 83 | |
|---|
| 84 | [@Bogus Macro@] |
|---|
| 85 | #hash check |
|---|
| 86 | : And one <h>indented</h> one. |
|---|
| 87 | |
|---|
| 88 | And the rest is preformatted, |
|---|
| 89 | * No matter what it is. |
|---|
| 90 | |
|---|
| 91 | This is a one line paragraph. |
|---|
| 92 | |
|---|
| 93 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 94 | and a [%Button|magic%]. |
|---|
| 95 | |
|---|
| 96 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 97 | the next line because it's so long and to be indented properly when it |
|---|
| 98 | gets there. |
|---|
| 99 | |
|---|
| 100 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 101 | the next line because it's so long and to be indented properly when it |
|---|
| 102 | gets there. |
|---|
| 103 | |
|---|
| 104 | This is a two line |
|---|
| 105 | Preformatted paragraph. |
|---|
| 106 | * <i>Three</i> |
|---|
| 107 | ** Bulleted |
|---|
| 108 | *** Paragraphs |
|---|
| 109 | #--- |
|---|
| 110 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 111 | and [%Another|Button [with brackets]%]. |
|---|
| 112 | |
|---|
| 113 | [@Bogus Macro@] |
|---|
| 114 | #hash check |
|---|
| 115 | : And one <h>indented</h> one. |
|---|
| 116 | |
|---|
| 117 | And the rest is preformatted, |
|---|
| 118 | * No matter what it is. |
|---|
| 119 | |
|---|
| 120 | This is a one line paragraph. |
|---|
| 121 | |
|---|
| 122 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 123 | and a [%Button|magic%]. |
|---|
| 124 | |
|---|
| 125 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 126 | the next line because it's so long and to be indented properly when it |
|---|
| 127 | gets there. |
|---|
| 128 | |
|---|
| 129 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 130 | the next line because it's so long and to be indented properly when it |
|---|
| 131 | gets there. |
|---|
| 132 | |
|---|
| 133 | This is a two line |
|---|
| 134 | Preformatted paragraph. |
|---|
| 135 | * <i>Three</i> |
|---|
| 136 | ** Bulleted |
|---|
| 137 | *** Paragraphs |
|---|
| 138 | #--- |
|---|
| 139 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 140 | and [%Another|Button [with brackets]%]. |
|---|
| 141 | |
|---|
| 142 | [@Bogus Macro@] |
|---|
| 143 | #hash check |
|---|
| 144 | : And one <h>indented</h> one. |
|---|
| 145 | |
|---|
| 146 | And the rest is preformatted, |
|---|
| 147 | * No matter what it is. |
|---|
| 148 | |
|---|
| 149 | This is a one line paragraph. |
|---|
| 150 | |
|---|
| 151 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 152 | and a [%Button|magic%]. |
|---|
| 153 | |
|---|
| 154 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 155 | the next line because it's so long and to be indented properly when it |
|---|
| 156 | gets there. |
|---|
| 157 | |
|---|
| 158 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 159 | the next line because it's so long and to be indented properly when it |
|---|
| 160 | gets there. |
|---|
| 161 | |
|---|
| 162 | This is a two line |
|---|
| 163 | Preformatted paragraph. |
|---|
| 164 | * <i>Three</i> |
|---|
| 165 | ** Bulleted |
|---|
| 166 | *** Paragraphs |
|---|
| 167 | #--- |
|---|
| 168 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 169 | and [%Another|Button [with brackets]%]. |
|---|
| 170 | |
|---|
| 171 | [@Bogus Macro@] |
|---|
| 172 | #hash check |
|---|
| 173 | : And one <h>indented</h> one. |
|---|
| 174 | |
|---|
| 175 | And the rest is preformatted, |
|---|
| 176 | * No matter what it is. |
|---|
| 177 | |
|---|
| 178 | This is a one line paragraph. |
|---|
| 179 | |
|---|
| 180 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 181 | and a [%Button|magic%]. |
|---|
| 182 | |
|---|
| 183 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 184 | the next line because it's so long and to be indented properly when it |
|---|
| 185 | gets there. |
|---|
| 186 | |
|---|
| 187 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 188 | the next line because it's so long and to be indented properly when it |
|---|
| 189 | gets there. |
|---|
| 190 | |
|---|
| 191 | This is a two line |
|---|
| 192 | Preformatted paragraph. |
|---|
| 193 | * <i>Three</i> |
|---|
| 194 | ** Bulleted |
|---|
| 195 | *** Paragraphs |
|---|
| 196 | #--- |
|---|
| 197 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 198 | and [%Another|Button [with brackets]%]. |
|---|
| 199 | |
|---|
| 200 | [@Bogus Macro@] |
|---|
| 201 | #hash check |
|---|
| 202 | : And one <h>indented</h> one. |
|---|
| 203 | |
|---|
| 204 | And the rest is preformatted, |
|---|
| 205 | * No matter what it is. |
|---|
| 206 | |
|---|
| 207 | This is a one line paragraph. |
|---|
| 208 | |
|---|
| 209 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 210 | and a [%Button|magic%]. |
|---|
| 211 | |
|---|
| 212 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 213 | the next line because it's so long and to be indented properly when it |
|---|
| 214 | gets there. |
|---|
| 215 | |
|---|
| 216 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 217 | the next line because it's so long and to be indented properly when it |
|---|
| 218 | gets there. |
|---|
| 219 | |
|---|
| 220 | This is a two line |
|---|
| 221 | Preformatted paragraph. |
|---|
| 222 | * <i>Three</i> |
|---|
| 223 | ** Bulleted |
|---|
| 224 | *** Paragraphs |
|---|
| 225 | #--- |
|---|
| 226 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 227 | and [%Another|Button [with brackets]%]. |
|---|
| 228 | |
|---|
| 229 | [@Bogus Macro@] |
|---|
| 230 | #hash check |
|---|
| 231 | : And one <h>indented</h> one. |
|---|
| 232 | |
|---|
| 233 | And the rest is preformatted, |
|---|
| 234 | * No matter what it is. |
|---|
| 235 | |
|---|
| 236 | This is a one line paragraph. |
|---|
| 237 | |
|---|
| 238 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 239 | and a [%Button|magic%]. |
|---|
| 240 | |
|---|
| 241 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 242 | the next line because it's so long and to be indented properly when it |
|---|
| 243 | gets there. |
|---|
| 244 | |
|---|
| 245 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 246 | the next line because it's so long and to be indented properly when it |
|---|
| 247 | gets there. |
|---|
| 248 | |
|---|
| 249 | This is a two line |
|---|
| 250 | Preformatted paragraph. |
|---|
| 251 | * <i>Three</i> |
|---|
| 252 | ** Bulleted |
|---|
| 253 | *** Paragraphs |
|---|
| 254 | #--- |
|---|
| 255 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 256 | and [%Another|Button [with brackets]%]. |
|---|
| 257 | |
|---|
| 258 | [@Bogus Macro@] |
|---|
| 259 | #hash check |
|---|
| 260 | : And one <h>indented</h> one. |
|---|
| 261 | |
|---|
| 262 | And the rest is preformatted, |
|---|
| 263 | * No matter what it is. |
|---|
| 264 | |
|---|
| 265 | This is a one line paragraph. |
|---|
| 266 | |
|---|
| 267 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 268 | and a [%Button|magic%]. |
|---|
| 269 | |
|---|
| 270 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 271 | the next line because it's so long and to be indented properly when it |
|---|
| 272 | gets there. |
|---|
| 273 | |
|---|
| 274 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 275 | the next line because it's so long and to be indented properly when it |
|---|
| 276 | gets there. |
|---|
| 277 | |
|---|
| 278 | This is a two line |
|---|
| 279 | Preformatted paragraph. |
|---|
| 280 | * <i>Three</i> |
|---|
| 281 | ** Bulleted |
|---|
| 282 | *** Paragraphs |
|---|
| 283 | #--- |
|---|
| 284 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 285 | and [%Another|Button [with brackets]%]. |
|---|
| 286 | |
|---|
| 287 | [@Bogus Macro@] |
|---|
| 288 | #hash check |
|---|
| 289 | : And one <h>indented</h> one. |
|---|
| 290 | |
|---|
| 291 | And the rest is preformatted, |
|---|
| 292 | * No matter what it is. |
|---|
| 293 | |
|---|
| 294 | This is a one line paragraph. |
|---|
| 295 | |
|---|
| 296 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 297 | and a [%Button|magic%]. |
|---|
| 298 | |
|---|
| 299 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 300 | the next line because it's so long and to be indented properly when it |
|---|
| 301 | gets there. |
|---|
| 302 | |
|---|
| 303 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 304 | the next line because it's so long and to be indented properly when it |
|---|
| 305 | gets there. |
|---|
| 306 | |
|---|
| 307 | This is a two line |
|---|
| 308 | Preformatted paragraph. |
|---|
| 309 | * <i>Three</i> |
|---|
| 310 | ** Bulleted |
|---|
| 311 | *** Paragraphs |
|---|
| 312 | #--- |
|---|
| 313 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 314 | and [%Another|Button [with brackets]%]. |
|---|
| 315 | |
|---|
| 316 | [@Bogus Macro@] |
|---|
| 317 | #hash check |
|---|
| 318 | : And one <h>indented</h> one. |
|---|
| 319 | |
|---|
| 320 | And the rest is preformatted, |
|---|
| 321 | * No matter what it is. |
|---|
| 322 | |
|---|
| 323 | This is a one line paragraph. |
|---|
| 324 | |
|---|
| 325 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 326 | and a [%Button|magic%]. |
|---|
| 327 | |
|---|
| 328 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 329 | the next line because it's so long and to be indented properly when it |
|---|
| 330 | gets there. |
|---|
| 331 | |
|---|
| 332 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 333 | the next line because it's so long and to be indented properly when it |
|---|
| 334 | gets there. |
|---|
| 335 | |
|---|
| 336 | This is a two line |
|---|
| 337 | Preformatted paragraph. |
|---|
| 338 | * <i>Three</i> |
|---|
| 339 | ** Bulleted |
|---|
| 340 | *** Paragraphs |
|---|
| 341 | #--- |
|---|
| 342 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 343 | and [%Another|Button [with brackets]%]. |
|---|
| 344 | |
|---|
| 345 | [@Bogus Macro@] |
|---|
| 346 | #hash check |
|---|
| 347 | : And one <h>indented</h> one. |
|---|
| 348 | |
|---|
| 349 | And the rest is preformatted, |
|---|
| 350 | * No matter what it is. |
|---|
| 351 | |
|---|
| 352 | This is a one line paragraph. |
|---|
| 353 | |
|---|
| 354 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 355 | and a [%Button|magic%]. |
|---|
| 356 | |
|---|
| 357 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 358 | the next line because it's so long and to be indented properly when it |
|---|
| 359 | gets there. |
|---|
| 360 | |
|---|
| 361 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 362 | the next line because it's so long and to be indented properly when it |
|---|
| 363 | gets there. |
|---|
| 364 | |
|---|
| 365 | This is a two line |
|---|
| 366 | Preformatted paragraph. |
|---|
| 367 | * <i>Three</i> |
|---|
| 368 | ** Bulleted |
|---|
| 369 | *** Paragraphs |
|---|
| 370 | #--- |
|---|
| 371 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 372 | and [%Another|Button [with brackets]%]. |
|---|
| 373 | |
|---|
| 374 | [@Bogus Macro@] |
|---|
| 375 | #hash check |
|---|
| 376 | : And one <h>indented</h> one. |
|---|
| 377 | |
|---|
| 378 | And the rest is preformatted, |
|---|
| 379 | * No matter what it is. |
|---|
| 380 | |
|---|
| 381 | This is a one line paragraph. |
|---|
| 382 | |
|---|
| 383 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 384 | and a [%Button|magic%]. |
|---|
| 385 | |
|---|
| 386 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 387 | the next line because it's so long and to be indented properly when it |
|---|
| 388 | gets there. |
|---|
| 389 | |
|---|
| 390 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 391 | the next line because it's so long and to be indented properly when it |
|---|
| 392 | gets there. |
|---|
| 393 | |
|---|
| 394 | This is a two line |
|---|
| 395 | Preformatted paragraph. |
|---|
| 396 | * <i>Three</i> |
|---|
| 397 | ** Bulleted |
|---|
| 398 | *** Paragraphs |
|---|
| 399 | #--- |
|---|
| 400 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 401 | and [%Another|Button [with brackets]%]. |
|---|
| 402 | |
|---|
| 403 | [@Bogus Macro@] |
|---|
| 404 | #hash check |
|---|
| 405 | : And one <h>indented</h> one. |
|---|
| 406 | |
|---|
| 407 | And the rest is preformatted, |
|---|
| 408 | * No matter what it is. |
|---|
| 409 | |
|---|
| 410 | This is a one line paragraph. |
|---|
| 411 | |
|---|
| 412 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 413 | and a [%Button|magic%]. |
|---|
| 414 | |
|---|
| 415 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 416 | the next line because it's so long and to be indented properly when it |
|---|
| 417 | gets there. |
|---|
| 418 | |
|---|
| 419 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 420 | the next line because it's so long and to be indented properly when it |
|---|
| 421 | gets there. |
|---|
| 422 | |
|---|
| 423 | This is a two line |
|---|
| 424 | Preformatted paragraph. |
|---|
| 425 | * <i>Three</i> |
|---|
| 426 | ** Bulleted |
|---|
| 427 | *** Paragraphs |
|---|
| 428 | #--- |
|---|
| 429 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 430 | and [%Another|Button [with brackets]%]. |
|---|
| 431 | |
|---|
| 432 | [@Bogus Macro@] |
|---|
| 433 | #hash check |
|---|
| 434 | : And one <h>indented</h> one. |
|---|
| 435 | |
|---|
| 436 | And the rest is preformatted, |
|---|
| 437 | * No matter what it is. |
|---|
| 438 | |
|---|
| 439 | This is a one line paragraph. |
|---|
| 440 | |
|---|
| 441 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 442 | and a [%Button|magic%]. |
|---|
| 443 | |
|---|
| 444 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 445 | the next line because it's so long and to be indented properly when it |
|---|
| 446 | gets there. |
|---|
| 447 | |
|---|
| 448 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 449 | the next line because it's so long and to be indented properly when it |
|---|
| 450 | gets there. |
|---|
| 451 | |
|---|
| 452 | This is a two line |
|---|
| 453 | Preformatted paragraph. |
|---|
| 454 | * <i>Three</i> |
|---|
| 455 | ** Bulleted |
|---|
| 456 | *** Paragraphs |
|---|
| 457 | #--- |
|---|
| 458 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 459 | and [%Another|Button [with brackets]%]. |
|---|
| 460 | |
|---|
| 461 | [@Bogus Macro@] |
|---|
| 462 | #hash check |
|---|
| 463 | : And one <h>indented</h> one. |
|---|
| 464 | |
|---|
| 465 | And the rest is preformatted, |
|---|
| 466 | * No matter what it is. |
|---|
| 467 | |
|---|
| 468 | This is a one line paragraph. |
|---|
| 469 | |
|---|
| 470 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 471 | and a [%Button|magic%]. |
|---|
| 472 | |
|---|
| 473 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 474 | the next line because it's so long and to be indented properly when it |
|---|
| 475 | gets there. |
|---|
| 476 | |
|---|
| 477 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 478 | the next line because it's so long and to be indented properly when it |
|---|
| 479 | gets there. |
|---|
| 480 | |
|---|
| 481 | This is a two line |
|---|
| 482 | Preformatted paragraph. |
|---|
| 483 | * <i>Three</i> |
|---|
| 484 | ** Bulleted |
|---|
| 485 | *** Paragraphs |
|---|
| 486 | #--- |
|---|
| 487 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 488 | and [%Another|Button [with brackets]%]. |
|---|
| 489 | |
|---|
| 490 | [@Bogus Macro@] |
|---|
| 491 | #hash check |
|---|
| 492 | : And one <h>indented</h> one. |
|---|
| 493 | |
|---|
| 494 | And the rest is preformatted, |
|---|
| 495 | * No matter what it is. |
|---|
| 496 | |
|---|
| 497 | This is a one line paragraph. |
|---|
| 498 | |
|---|
| 499 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 500 | and a [%Button|magic%]. |
|---|
| 501 | |
|---|
| 502 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 503 | the next line because it's so long and to be indented properly when it |
|---|
| 504 | gets there. |
|---|
| 505 | |
|---|
| 506 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 507 | the next line because it's so long and to be indented properly when it |
|---|
| 508 | gets there. |
|---|
| 509 | |
|---|
| 510 | This is a two line |
|---|
| 511 | Preformatted paragraph. |
|---|
| 512 | * <i>Three</i> |
|---|
| 513 | ** Bulleted |
|---|
| 514 | *** Paragraphs |
|---|
| 515 | #--- |
|---|
| 516 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 517 | and [%Another|Button [with brackets]%]. |
|---|
| 518 | |
|---|
| 519 | [@Bogus Macro@] |
|---|
| 520 | #hash check |
|---|
| 521 | : And one <h>indented</h> one. |
|---|
| 522 | |
|---|
| 523 | And the rest is preformatted, |
|---|
| 524 | * No matter what it is. |
|---|
| 525 | |
|---|
| 526 | This is a one line paragraph. |
|---|
| 527 | |
|---|
| 528 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 529 | and a [%Button|magic%]. |
|---|
| 530 | |
|---|
| 531 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 532 | the next line because it's so long and to be indented properly when it |
|---|
| 533 | gets there. |
|---|
| 534 | |
|---|
| 535 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 536 | the next line because it's so long and to be indented properly when it |
|---|
| 537 | gets there. |
|---|
| 538 | |
|---|
| 539 | This is a two line |
|---|
| 540 | Preformatted paragraph. |
|---|
| 541 | * <i>Three</i> |
|---|
| 542 | ** Bulleted |
|---|
| 543 | *** Paragraphs |
|---|
| 544 | #--- |
|---|
| 545 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 546 | and [%Another|Button [with brackets]%]. |
|---|
| 547 | |
|---|
| 548 | [@Bogus Macro@] |
|---|
| 549 | #hash check |
|---|
| 550 | : And one <h>indented</h> one. |
|---|
| 551 | |
|---|
| 552 | And the rest is preformatted, |
|---|
| 553 | * No matter what it is. |
|---|
| 554 | |
|---|
| 555 | This is a one line paragraph. |
|---|
| 556 | |
|---|
| 557 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 558 | and a [%Button|magic%]. |
|---|
| 559 | |
|---|
| 560 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 561 | the next line because it's so long and to be indented properly when it |
|---|
| 562 | gets there. |
|---|
| 563 | |
|---|
| 564 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 565 | the next line because it's so long and to be indented properly when it |
|---|
| 566 | gets there. |
|---|
| 567 | |
|---|
| 568 | This is a two line |
|---|
| 569 | Preformatted paragraph. |
|---|
| 570 | * <i>Three</i> |
|---|
| 571 | ** Bulleted |
|---|
| 572 | *** Paragraphs |
|---|
| 573 | #--- |
|---|
| 574 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 575 | and [%Another|Button [with brackets]%]. |
|---|
| 576 | |
|---|
| 577 | [@Bogus Macro@] |
|---|
| 578 | #hash check |
|---|
| 579 | : And one <h>indented</h> one. |
|---|
| 580 | |
|---|
| 581 | And the rest is preformatted, |
|---|
| 582 | * No matter what it is. |
|---|
| 583 | |
|---|
| 584 | This is a one line paragraph. |
|---|
| 585 | |
|---|
| 586 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 587 | and a [%Button|magic%]. |
|---|
| 588 | |
|---|
| 589 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 590 | the next line because it's so long and to be indented properly when it |
|---|
| 591 | gets there. |
|---|
| 592 | |
|---|
| 593 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 594 | the next line because it's so long and to be indented properly when it |
|---|
| 595 | gets there. |
|---|
| 596 | |
|---|
| 597 | This is a two line |
|---|
| 598 | Preformatted paragraph. |
|---|
| 599 | * <i>Three</i> |
|---|
| 600 | ** Bulleted |
|---|
| 601 | *** Paragraphs |
|---|
| 602 | #--- |
|---|
| 603 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 604 | and [%Another|Button [with brackets]%]. |
|---|
| 605 | |
|---|
| 606 | [@Bogus Macro@] |
|---|
| 607 | #hash check |
|---|
| 608 | : And one <h>indented</h> one. |
|---|
| 609 | |
|---|
| 610 | And the rest is preformatted, |
|---|
| 611 | * No matter what it is. |
|---|
| 612 | |
|---|
| 613 | This is a one line paragraph. |
|---|
| 614 | |
|---|
| 615 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 616 | and a [%Button|magic%]. |
|---|
| 617 | |
|---|
| 618 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 619 | the next line because it's so long and to be indented properly when it |
|---|
| 620 | gets there. |
|---|
| 621 | |
|---|
| 622 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 623 | the next line because it's so long and to be indented properly when it |
|---|
| 624 | gets there. |
|---|
| 625 | |
|---|
| 626 | This is a two line |
|---|
| 627 | Preformatted paragraph. |
|---|
| 628 | * <i>Three</i> |
|---|
| 629 | ** Bulleted |
|---|
| 630 | *** Paragraphs |
|---|
| 631 | #--- |
|---|
| 632 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 633 | and [%Another|Button [with brackets]%]. |
|---|
| 634 | |
|---|
| 635 | [@Bogus Macro@] |
|---|
| 636 | #hash check |
|---|
| 637 | : And one <h>indented</h> one. |
|---|
| 638 | |
|---|
| 639 | And the rest is preformatted, |
|---|
| 640 | * No matter what it is. |
|---|
| 641 | |
|---|
| 642 | This is a one line paragraph. |
|---|
| 643 | |
|---|
| 644 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 645 | and a [%Button|magic%]. |
|---|
| 646 | |
|---|
| 647 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 648 | the next line because it's so long and to be indented properly when it |
|---|
| 649 | gets there. |
|---|
| 650 | |
|---|
| 651 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 652 | the next line because it's so long and to be indented properly when it |
|---|
| 653 | gets there. |
|---|
| 654 | |
|---|
| 655 | This is a two line |
|---|
| 656 | Preformatted paragraph. |
|---|
| 657 | * <i>Three</i> |
|---|
| 658 | ** Bulleted |
|---|
| 659 | *** Paragraphs |
|---|
| 660 | #--- |
|---|
| 661 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 662 | and [%Another|Button [with brackets]%]. |
|---|
| 663 | |
|---|
| 664 | [@Bogus Macro@] |
|---|
| 665 | #hash check |
|---|
| 666 | : And one <h>indented</h> one. |
|---|
| 667 | |
|---|
| 668 | And the rest is preformatted, |
|---|
| 669 | * No matter what it is. |
|---|
| 670 | |
|---|
| 671 | This is a one line paragraph. |
|---|
| 672 | |
|---|
| 673 | This is a <b>two</b> line [paragraph with] a link |
|---|
| 674 | and a [%Button|magic%]. |
|---|
| 675 | |
|---|
| 676 | :: This is a two line indented paragraph that's supposed to wrap to |
|---|
| 677 | the next line because it's so long and to be indented properly when it |
|---|
| 678 | gets there. |
|---|
| 679 | |
|---|
| 680 | ** This is a two line bulleted paragraph that's supposed to wrap to |
|---|
| 681 | the next line because it's so long and to be indented properly when it |
|---|
| 682 | gets there. |
|---|
| 683 | |
|---|
| 684 | This is a two line |
|---|
| 685 | Preformatted paragraph. |
|---|
| 686 | * <i>Three</i> |
|---|
| 687 | ** Bulleted |
|---|
| 688 | *** Paragraphs |
|---|
| 689 | #--- |
|---|
| 690 | And here's a <m>paragraph</m> with [%One|button%] |
|---|
| 691 | and [%Another|Button [with brackets]%]. |
|---|
| 692 | |
|---|
| 693 | [@Bogus Macro@] |
|---|
| 694 | #hash check |
|---|
| 695 | : And one <h>indented</h> one. |
|---|
| 696 | |
|---|
| 697 | And the rest is preformatted, |
|---|
| 698 | * No matter what it is. |
|---|
| 699 | } |
|---|
| 700 | |
|---|
| 701 | proc test1 {text} { |
|---|
| 702 | set result [markupparser::parse $text] |
|---|
| 703 | } |
|---|
| 704 | |
|---|
| 705 | proc test2 {text} { |
|---|
| 706 | set result {} |
|---|
| 707 | foreach {key val} [markupparser::parseExperimental $text] { |
|---|
| 708 | lappend result $key $val |
|---|
| 709 | } |
|---|
| 710 | |
|---|
| 711 | } |
|---|
| 712 | |
|---|
| 713 | puts [time {test1 $text}] |
|---|
| 714 | puts [time {test2 $text}] |
|---|