Permalink
Browse files

falling back to \link, while i'm not able to fix link regex

  • Loading branch information...
1 parent b70d3cb commit 08403535115dc30bdecd3766f62dc9794e197469 @csokol csokol committed Oct 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/br/com/caelum/tubaina/ParseType.java
@@ -22,7 +22,7 @@
@Override
public Parser getParser(RegexConfigurator conf, boolean noAnswer, boolean showNotes, String linkParameter) throws IOException {
List<Tag> tags = conf.read("/regex.properties", "/latex.properties");
- tags.add(new LinkTag("\\\\href{$1"+linkParameter+"}{$1}$2"));
+ tags.add(new LinkTag("\\\\link{$1}$2"));
return new LatexParser(tags, showNotes, noAnswer);
}

0 comments on commit 0840353

Please sign in to comment.