Enhancement Request:
When using Document Merge (DMM), object field data that is merged into a document may sometimes contain incomplete or malformed HTML. This typically occurs in Rich Text Area fields, where users copy and paste content (such as tables) that results in missing or unclosed HTML tags (e.g., missing </table> or </tr> tags).
Currently, if such malformed HTML is passed into DMM, the merge process fails and throws errors.
Proposed Enhancement:
Enhance Apsona DMM to automatically detect and correct malformed HTML in field data before processing it for merge.
For example:
Auto-close missing tags (e.g., </table>, </tr>, </td>).
Normalize the HTML structure so that partially pasted tables or other elements don’t break the merge.
Gracefully handle unrecognized or incomplete tags by sanitizing them instead of failing the merge.
Expected Benefit:
This improvement will make DMM more robust and user-friendly by preventing merge failures caused by malformed HTML in Rich Text Area fields, especially when users paste content from external sources.