I am making a process to read the Abstract Syntax Tree of AsciiDoc and generate the same file but translated.
When the process reached a leaf of the tree I want to be able to prevent implicit substitutions
In general I can do that using the remove_subs method of each AbstractNode
But there is a situation where I can't do that, when the block is a simple cell (| ** text **) because the @subs variable is frozen.
Looking at the code I found that the problem is related to the following line (@subs = NORMAL_SUBS)
I also saw that in list.rb the code uses another way to do it
@subs = NORMAL_SUBS.drop 0 instead of @subs = NORMAL_SUBS
Is there a workaround to avoid substitutions in the Table::Cell blocks?