FluidTYPO3/schemaker — pull request #23 by xf- (2014-06-15 23:13:01+00:00)
Title: [TASK] Improve blacklistet fluid rendering

```
# Stops fluid from executing and be visible
-> v:format.regularExpression(pattern: '/<(\/?)f\:(.*)>/Us', replacement: '<$1f:$2>')
#Render headers
-> v:format.regularExpression(pattern: '/^[=]{1,}(.*)[=]{1,}/mx', replacement: '

$1

')
# replace code to pre and use attribute title in header-tag
-> v:format.regularExpression(pattern: '/(.*)<\/code>/Us', replacement: '

$1

$2

')
# outpur code to pre
-> v:format.regularExpression(pattern: '/(.*)<\/output>/Us', replacement: '

Output

$1

')
# Add line-breaks and try to avoid pre areas
-> v:format.regularExpression(pattern: '/\\n([a-zA-Z0-9\-\*]{1,})/Us', replacement: '
$1')
# If text is in pre fro outut, remove the

-> v:format.regularExpression(pattern: '/(lang\-xml\">)
/Us', replacement: '$1')
# use raw instead of html to avoid massive

tags
-> f:format.raw()
```

View screen-shots before and after:
![before](http://i.imgur.com/dyWIkJ8.png)
![after](http://i.imgur.com/JE4cy0N.png)

![before](http://i.imgur.com/0CFc9eb.png)
![after](http://i.imgur.com/LMfOkv0.png)

![after](http://i.imgur.com/KItpg94.png)