We have a CMS with rich editor. The editor is inserting special HTML elements that serve as placeholders for videos, audios, images or blocks of text. We are migrating from regular expression to HAP to detect these elements. Intended workflow is like this:
I made it virtual for myself and compiled a custom version of HAP. But it'd be nice if this change is done to official HAP, so we can use it from NuGet.
Thanks
- Load the document via HAP
- Detect special placeholders in the document and replace them with custom HtmlNode-derived objects
-
Split the document array of objects of two kinds - HTML and special
I made it virtual for myself and compiled a custom version of HAP. But it'd be nice if this change is done to official HAP, so we can use it from NuGet.
Thanks