// find a {
int next = line.indexOf('{', pos);
if (next != -1) {
// found one
String text = line.substring(pos, next);
inline.handleText(text);
int next2 = line.indexOf('}', next);
String tag = line.substring(next + 1, next2);
if (tag.startsWith("@") && tag.indexOf(" ") != -1) {
String tagName = tag.substring(0, tag.indexOf(" "));