Skip to content

Commit

Permalink
Fixed the gdoc image filter so that you don't have to escape literal …
Browse files Browse the repository at this point in the history
…exclamation marks.
  • Loading branch information
pledbrook committed Aug 15, 2011
1 parent 7c63e76 commit 8d91f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grails-docs/src/main/groovy/grails/doc/DocEngine.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8d91f99

Please sign in to comment.