Tell us what you are trying to do?
I've used a recommended shortcode to truncate a long field in archive display, but one entry includes italics, which I need to clear prior to the next record display.
Is there any documentation that you are following?
No...searched and no easy Toolset solution found.
Is there a similar example that we can see?
For behavior, see hidden link
Further information: see https://toolset.com/forums/topic/truncate-text-field-in-blocks-editor/ for the shortcode I used to truncate a long WYSIWYG field. One person began this field with a quote in italics, hence the truncated extract ends in italics, which is continued on all subsequent records in the archive view.
Perhaps there is something I can add to the shortcode, or as an additional block in the archive loop following the shortcode, to clear this, and possibly other, formatting?
Thank you for contacting us and I'd be happy to assist.
The challenge here is that while truncating the long content from the field, we'll not know exactly which HTML tag will be available and at which position specifically its opening and closing tags exist.