Set _text to null in Anchor if the body content is empty.
Previously it just left it to whatever it was set to before, which was super confusing and impossible to debug.
This commit is contained in:
parent
1e7092c623
commit
898ce9533a
@ -325,6 +325,8 @@ public class Anchor extends AnchorBase
|
||||
bodyContent.clearBody();
|
||||
if (value.length() > 0)
|
||||
_text = value;
|
||||
else
|
||||
_text = null;
|
||||
}
|
||||
return SKIP_BODY;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user