Title: Problem: html break being inserted into comment-subscriptions input
Last modified: August 20, 2016

---

# Problem: html break being inserted into comment-subscriptions input

 *  Resolved [taborro](https://wordpress.org/support/users/taborro/)
 * (@taborro)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/problem-html-break-being-inserted-into-comment-subscriptions-input/)
 * Hi, just installed and everything works, except that in the /comment-subscriptions/
   page, *something* is adding a < br / > tag right in the middle of your < input/
   > tag.
 * Here’s a healthy HTML output I yanked from someone’s site:
 *     ```
       <input type="text" class="subscribe-form-field" name="subscribe_reloaded_email" value="email" size="22"
       		onfocus="if(this.value==this.defaultValue)this.value=''" onblur="if(this.value=='')this.value=this.defaultValue"/>
       ```
   
 * BUT here’s what my HTML output looks like:
 *     ```
       <input type="text" class="subscribe-form-field" name="subscribe_reloaded_email" value="jason@learnvisualstudio.net" size="22"<br />
       onfocus=”if(this.value==this.defaultValue)this.value=”” onblur=”if(this.value==”)this.value=this.defaultValue”/>
       ```
   
 * So, in your code you are doing a line break using your code editor (?) that is
   somehow being translated into a < br / > by my template (or something???)
 * Here’s what it looks like:
 * [http://dl.dropbox.com/u/693501/comments_problem.png](http://dl.dropbox.com/u/693501/comments_problem.png)
 * So, could I hire you to give me a version of this that removes that line break?
   Or something? Please contact me … bob @ learnvisualstudio.net.

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

 *  [geggiot](https://wordpress.org/support/users/geggiot/)
 * (@geggiot)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/problem-html-break-being-inserted-into-comment-subscriptions-input/#post-2182176)
 * Same error.
 *  [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/problem-html-break-being-inserted-into-comment-subscriptions-input/#post-2182245)
 * Hi there,
 * this will hopefully be fixed in version 2.0. My guess is that there’s another
   plugin that is injecting BR’s into the content.
 * Camu
 *  [geggiot](https://wordpress.org/support/users/geggiot/)
 * (@geggiot)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/problem-html-break-being-inserted-into-comment-subscriptions-input/#post-2182312)
 * This issue has not been fixed with 2.0 update.
 *  [geggiot](https://wordpress.org/support/users/geggiot/)
 * (@geggiot)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/problem-html-break-being-inserted-into-comment-subscriptions-input/#post-2182313)
 * Solved with this
 * > <form action=”<?php echo htmlspecialchars($_SERVER[‘REQUEST_URI’]) ?>” method
   > =”post” id=”post_list_form” name=”post_list_form” onsubmit=”if(this.sra[0].
   > checked) return confirm(‘<?php _e(‘Please remember: this operation cannot be
   > undone. Are you sure you want to proceed?’, ‘subscribe-reloaded’) ?>’)”>
 * in subscribe-to-comments-reloaded/templates/user.php and here subscribe-to-comments-
   reloaded/templates/author.php
 * there’s some blank space.
 *  [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/problem-html-break-being-inserted-into-comment-subscriptions-input/#post-2182317)
 * Geggiot,
 * I guess you have some other plugin that is adding those BR’s, but if you say 
   your fix works, I am more than happy to add it to the next release.
 * Camu
 * PS: a vote for my plugin would be a nice way to thank me!
 *  [geggiot](https://wordpress.org/support/users/geggiot/)
 * (@geggiot)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/problem-html-break-being-inserted-into-comment-subscriptions-input/#post-2182318)
 * Camu,
    ho modificato i file che ho postato prima, c’erano degli spazi bianchi
   che ho eliminato. Presumo che wordpress e non qualche altro plugin formattava
   questi spazi bianchi con un  . Votato!
 *  [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * (@coolmann)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/problem-html-break-being-inserted-into-comment-subscriptions-input/#post-2182319)
 * Sorry if I keep answering in English, but this may be useful to other people 
   who don’t speak Italian 😉 You’re right about WordPress adding those BR’s, but
   my plugin attempts to disable that functionality while it generates the management
   page:
 * `remove_filter('the_content','wpautop');`
 * That’s why I thought it could be another plugin which is instead re-enabling 
   it 😉
 * Thank you for your vote, really appreciated!
    Camu

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

The topic ‘Problem: html break being inserted into comment-subscriptions input’ 
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/subscribe-to-comments-reloaded_f0f9fc.
   svg)
 * [Subscribe To Comments Reloaded](https://wordpress.org/plugins/subscribe-to-comments-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subscribe-to-comments-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [Jason Crouse](https://wordpress.org/support/users/coolmann/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/problem-html-break-being-inserted-into-comment-subscriptions-input/#post-2182319)
 * Status: resolved