Title: Excluding elements
Last modified: August 31, 2016

---

# Excluding elements

 *  Resolved [Mariano](https://wordpress.org/support/users/naedirique/)
 * (@naedirique)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/excluding-elements/)
 * Hi there! I found your plugin simply fantastic, a great addition to wp-typography,
   thanks for your time putting it up! 🙂
 * I have a serious problem, though: Automatic-NBSP applies replacements inside 
   my code blocks (ie. “`<pre>...</pre>`“) and really messes up my formatting. I
   had to disable this great plugin because of that.
 * I can’t find an option to exclude particular elements in the plugin’s configuration
   pages, I’m assuming this can’t be done.
 * Could you consider adding one such option to the plugin in a future version? 
   Something like what wp-typography has would be perfect.
 * Thanks in advance!
 * [https://wordpress.org/plugins/automatic-nbsp/](https://wordpress.org/plugins/automatic-nbsp/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Damian Góra](https://wordpress.org/support/users/damian-gora/)
 * (@damian-gora)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/excluding-elements/#post-7132145)
 * Hi Mariano,
 * You’re right. There should be option to exclude HTML tags or maybe shortcode 
   something like this:
    `[nbsp_exclude]your content[/nbsp_exclude]`. I’ll see how
   it is work in the wp-typography.
 * It should be solved in the next version (April 2016).
 * Best,
    Damian
 *  Thread Starter [Mariano](https://wordpress.org/support/users/naedirique/)
 * (@naedirique)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/excluding-elements/#post-7132151)
 * Thank you very much for taking this into consideration 🙂
 * If I recall correctly (I don’t have the code with me at the moment), wp-typography
   performs a DOM walk on the content during filtering, instead of a plain `preg_replace`,
   but I could be mistaken.
 * I know this is a delicate issue, but why not integrate Automatic NSBP into wp-
   typography altogether? I mean as a separate option group inside wp-typography.
   I believe that this plugin would perfectly complement wp-typography’s repertoire(
   I don’t imagine why they didn’t include this functionality in the first place).
 * Thank you once more!
 *  [mediaboxca](https://wordpress.org/support/users/mediaboxca/)
 * (@mediaboxca)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/excluding-elements/#post-9217567)
 * I see this issue has been marked as “resolved”. Can you please tell me how I 
   can create an exclude list, or how I can exclude a given element of character?
 * Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Excluding elements’ is closed to new replies.

 * ![](https://ps.w.org/automatic-nbsp/assets/icon-256x256.png?rev=1226041)
 * [Automatic NBSP](https://wordpress.org/plugins/automatic-nbsp/)
 * [Support Threads](https://wordpress.org/support/plugin/automatic-nbsp/)
 * [Active Topics](https://wordpress.org/support/plugin/automatic-nbsp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/automatic-nbsp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/automatic-nbsp/reviews/)

## Tags

 * [configuration](https://wordpress.org/support/topic-tag/configuration/)

 * 3 replies
 * 3 participants
 * Last reply from: [mediaboxca](https://wordpress.org/support/users/mediaboxca/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/excluding-elements/#post-9217567)
 * Status: resolved