mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2024-11-25 10:22:17 -05:00
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();
|
bodyContent.clearBody();
|
||||||
if (value.length() > 0)
|
if (value.length() > 0)
|
||||||
_text = value;
|
_text = value;
|
||||||
|
else
|
||||||
|
_text = null;
|
||||||
}
|
}
|
||||||
return SKIP_BODY;
|
return SKIP_BODY;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user