Title: Stop Elementor from removing html code?
Last modified: September 17, 2021

---

# Stop Elementor from removing html code?

 *  Resolved [bhs67](https://wordpress.org/support/users/bhs67/)
 * (@bhs67)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/stop-elementor-from-removing-html-code/)
 * In a Text Editor box, via the Text tab, I enter:
 *  <span style=”font-size: 25px; color: #ffffff;”>
    Contents: </span> <br> <span
   style=”font-size: 20px; color: #ffffff;”> – Line 1 <br> – Line 2 </span>`
 * Later I see:
 *  <span style=”font-size: 25px; color: #ffffff;”>
    Contents: </span>
 *  <span style=”font-size: 20px; color: #ffffff;”>
    – Line 1
 *  – Line 2
    </span>`
 * The <br> has been removed.
 * Elementor has worked fine in the past. The latest version is modifying my html
   code. How do I fix this?

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

 *  Thread Starter [bhs67](https://wordpress.org/support/users/bhs67/)
 * (@bhs67)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/stop-elementor-from-removing-html-code/#post-14890621)
 * Use the Elements => HTML widget, instead of the Elements => Text Editor widget.
 *  Thread Starter [bhs67](https://wordpress.org/support/users/bhs67/)
 * (@bhs67)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/stop-elementor-from-removing-html-code/#post-14890625)
 * The HTML widget fixes the problem.

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

The topic ‘Stop Elementor from removing html code?’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [bhs67](https://wordpress.org/support/users/bhs67/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/stop-elementor-from-removing-html-code/#post-14890625)
 * Status: resolved