Modify [caption] shortcode so <figure> and <figcaption> are not used?

I would like to use the original (non-html5) version of the [caption] shortcode. That is, I would like to edit the output so that figure and figcaption are not used as they are causing problems.

How can I do this?

Topic shortcode html5 Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.