Nokogiri: add <tbody> after <table> elements as FireFox does
- by wefwgeweg
i have a problem:
Firefox adds <tbody> whether it's there or not, after <table>. I have no problem with this.
Nokogiri doesn't add it.
I need Nokogiri to emulate Firefox's behavior.
How can i add tbody after <table> elements to a given HTML page ? If tbody is already there, then move on to the next <table>....until all <tbody> tags are placed by Nokogiri.
Thank you.