# Import XML stripping embedded content

**URL:** <https://pressbooks.community/t/import-xml-stripping-embedded-content/423>\
**Category:** Developer Questions\
**Created:** [March 12, 2018, 9:39pm UTC](https://pressbooks.community/t/import-xml-stripping-embedded-content/423 "2018-03-12T21:39:03Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![dac.chartrand](https://pressbooks.community/user_avatar/pressbooks.community/dac.chartrand/32/152_2.png) [@dac.chartrand](https://pressbooks.community/u/dac.chartrand)\
**Post date:** [April 6, 2018, 1:12am UTC](https://pressbooks.community/t/import-xml-stripping-embedded-content/423/21 "2018-04-06T01:12:39Z")

</div>

I was going to do something like this:

> <https://stackoverflow.com/questions/36589220/how-to-remove-potential-p-tags-surrounding-urls-in-a-string-via-php>

Call the function `reverse_SOME_BETTER_NAME` and add it after:

> <https://github.com/pressbooks/pressbooks/blob/774b375d4fe9caf3f5d799fdaa6f6c01a7d0b868/inc/sanitize/namespace.php#L593>

Haven’t gotten around to this yet.

[Previous page](https://pressbooks.community/t/import-xml-stripping-embedded-content/423.md?page=1)
