Skip to content
Browse files

Fixed the gdoc image filter so that you don't have to escape literal …

…exclamation marks.
  • Loading branch information...
1 parent 7c63e76 commit 8d91f99d3792e576548f642a9839249ca5d03e0a @pledbrook pledbrook committed Aug 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 grails-docs/src/main/groovy/grails/doc/DocEngine.groovy
View
2 grails-docs/src/main/groovy/grails/doc/DocEngine.groovy
@@ -340,7 +340,7 @@ class CodeFilter extends RegexTokenFilter {
class ImageFilter extends RegexTokenFilter {
ImageFilter() {
- super(/!([^\n]*?\.(jpg|png|gif))!/);
+ super(/!([^\n<>=]*?\.(jpg|png|gif))!/);
}
void handleMatch(StringBuffer buffer, MatchResult result, FilterContext context) {

0 comments on commit 8d91f99

Please sign in to comment.
Something went wrong with that request. Please try again.