Indefero

Indefero Commit Details


Date:2009-02-01 07:24:04 (15 years 10 months ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:088f426986be011f3cb9dfd2504ce95e03316f60
Parents: a116c27c036ba94fd1616035f29090d5cad62450
Message:Added code tag to the list of allowed tags.

Changes:

File differences

src/IDF/Template/MarkdownPrefilter.php
9090
9191
9292
93
94
95
93
94
9695
97
98
99
100
101
102
103
104
105
96
10697
107
108
10998
110
111
99
100
101
102
103
104
112105
113106
114107
115108
116
117
118
109
110
111
112
113
114
115
116
117
118
119
119120
120121
121122
......
130131
131132
132133
134
133135
134136
135137
);
public $allowed = array(
'img' => array('src', 'class', 'alt', 'height', 'width', 'style'),
'strong' => array(),
'em' => array(),
'a' => array('href', 'title', 'rel'),
'address' => array(),
'b' => array(),
'i' => array(),
'ul' => array(),
'ol' => array(),
'li' => array(),
'dl' => array(),
'dt' => array(),
'dd' => array(),
'p' => array('align', 'class'),
'div' => array('align', 'class'),
'blockquote' => array(),
'br' => array(),
'pre' => array(),
'table' => array('summary'),
'caption' => array(),
'tr' => array(),
'td' => array('style'),
'code' => array(),
'dd' => array(),
'div' => array('align', 'class'),
'dl' => array(),
'dt' => array(),
'em' => array(),
'h1' => array(),
'h2' => array(),
'h3' => array(),
'hr' => array(),
'address' => array(),
'a' => array('href', 'title', 'rel'),
'blockquote' => array(),
'i' => array(),
'img' => array('src', 'class', 'alt', 'height', 'width', 'style'),
'li' => array(),
'ol' => array(),
'p' => array('align', 'class'),
'pre' => array(),
'strong' => array(),
'table' => array('summary'),
'td' => array('style'),
'tr' => array(),
'ul' => array(),
);
// tags which should always be self-closing (e.g. "<img />")
public $no_close = array(
'strong',
'em',
'b',
'code',
'i',
'ul',
'ol',

Archive Download the corresponding diff file

Page rendered in 0.07289s using 13 queries.