src/html.c

changeset 7014
11471fae7ba0
parent 6516
ea1e11634bf5
child 7094
8f9588491993
equal deleted inserted replaced
7013:1a9389b814b4 7014:11471fae7ba0
466 ALLOW_TAG("h2"); 466 ALLOW_TAG("h2");
467 ALLOW_TAG("h3"); 467 ALLOW_TAG("h3");
468 ALLOW_TAG("h4"); 468 ALLOW_TAG("h4");
469 ALLOW_TAG("h5"); 469 ALLOW_TAG("h5");
470 ALLOW_TAG("h6"); 470 ALLOW_TAG("h6");
471 ALLOW_TAG("html"); 471 /* we only allow html to start the message */
472 if(c == html)
473 ALLOW_TAG("html");
472 ALLOW_TAG_ALT("i", "em"); 474 ALLOW_TAG_ALT("i", "em");
473 ALLOW_TAG_ALT("italic", "em"); 475 ALLOW_TAG_ALT("italic", "em");
474 ALLOW_TAG("li"); 476 ALLOW_TAG("li");
475 ALLOW_TAG("ol"); 477 ALLOW_TAG("ol");
476 ALLOW_TAG("p"); 478 ALLOW_TAG("p");

mercurial