Is there a way to store HTML into a MySQL TEXT column,
yet be able to search over textual content only?
For example, if I store the following HTML snippet:
<p>A very <em>small</em> paragraph.</p>
.... into an TEXT column, I would like to be able to search
in the text "A very small paragraph." only, meaning the search
would find "small" (even if it's enclosed in <em> tags and
thus creating string "<em>small</em>"), and ignore search
strings "<p>" and "<em>".
yet be able to search over textual content only?
For example, if I store the following HTML snippet:
<p>A very <em>small</em> paragraph.</p>
.... into an TEXT column, I would like to be able to search
in the text "A very small paragraph." only, meaning the search
would find "small" (even if it's enclosed in <em> tags and
thus creating string "<em>small</em>"), and ignore search
strings "<p>" and "<em>".
Comment