Skip to content

Commit

Permalink
fix fallback glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jul 4, 2018
1 parent a30c409 commit 69cf5f4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public ReplaceableTagEvent(String tag, TagContext context) {
if (mainRef != null) {
return;
}
String otag = tag;

mainRef = new ReferenceData();

Expand Down Expand Up @@ -115,7 +116,7 @@ public ReplaceableTagEvent(String tag, TagContext context) {

mainRef.attribs = new Attribute(core_attributes, null, null);
mainRef.rawTag = raw_tag;
refs.put(tag, mainRef);
refs.put(otag, mainRef);
}

private static int locateValue(String tag) {
Expand Down

0 comments on commit 69cf5f4

Please sign in to comment.