Skip to content

Commit

Permalink
Don't quote quoted keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
seven332 committed Mar 28, 2019
1 parent e9d5569 commit f129ac6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,10 @@ private String wrapTagKeyword(String keyword) {
// Can't find :, or : is the last char
return keyword;
}
if (keyword.charAt(index1 + 1) == '"') {
// The char after : is ", the word must be quoted
return keyword;
}
int index2 = keyword.indexOf(' ');
if (index2 <= index1) {
// Can't find space, or space is before :
Expand Down

0 comments on commit f129ac6

Please sign in to comment.