Page.Summary

So I just noticed that .Summary includes enclosing paragraph tags by default, which I don’t see documented anywhere.

Is there any way to disable this and have it just return the raw Summary? I know plainify could strip them, but there might be some html included in the summary contents that I don’t want stripped.

Figured I’d check if there’s an easy way before I go about it the hard way.

Not that I know of.

What did you have in mind? I’ve seen some folks use the replace function to replace opening and closing paragraph tags with empty strings.

I used TrimPrefix and TrimSuffix, so wasn’t too hard; “manual” might be a better description as I need to remember to do it a few other places. Just before doing that wanted to make sure there wasn’t a config setting or different variable I was missing.