Re: Unable to call to remove_sub within Table::Cell because @subs is frozen
Posted by guidog on
URL: https://discuss.asciidoctor.org/Unable-to-call-to-remove-sub-within-Table-Cell-because-subs-is-frozen-tp8264p8265.html
Hi,
I found that source method can access to @text without substitutions.
def text
apply_subs @text, @subs
end
def source
@text
end
There are different ways to access to 'text' in each AbstractNode:
- text
- source
- content
- lines
I didn't see 'source' getter in Table::Cell.
Sorry for the inconvenience.
Regards
guido