Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
391176ee
Commit
391176ee
authored
Mar 30, 2016
by
Carsten Rose
Browse files
Sanatize.php: redefined regexp of ALNUMX and EMAIL to be more compatible
parent
acf1a581
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/BodytextParser.php
View file @
391176ee
...
...
@@ -61,7 +61,7 @@ class BodytextParser {
$full
=
''
;
foreach
(
$bodytextArray
as
$row
)
{
// Valid 'new line' starts indicators: form, <level>, <level.sublevel>, <level>.<keyword>, {, <level> {, }
if
((
1
===
preg_match
(
'/^\s*(\d*(\.)?)*\s*(head|althead|tail|sql|rbeg|rend|renr|rsep|fbeg|fend|fsep|form|debugShowStack|r) *=/'
,
$row
))
if
((
1
===
preg_match
(
'/^\s*(\d*(\.)?)*\s*(head|althead|tail|sql|rbeg|rend|renr|rsep|fbeg|fend|fsep|form|debugShowStack|
debugShowBodyText|
r) *=/'
,
$row
))
||
(
1
===
preg_match
(
'/^\s*(\d*(\.)?)*\s*({|})\s*/'
,
$row
))
||
(
1
===
preg_match
(
'/^\s*(\d+(\.)?)+/'
,
$row
))
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment