OpenAPI - Getting and Setting HTML of a Property

I have some blocks that have some HTML properties in tags and also in the documentation field. Is there some way to pull the HTML from those fields, and then set them again after I do some manipulation of the HTML?

This is for MagicDraw 2024x Refresh 2. Any help would be appreciated.