[wp-trac] [WordPress Trac] #46589: Backslashes being doubled in text block

WordPress Trac noreply at wordpress.org
Thu Mar 21 16:17:33 UTC 2019


#46589: Backslashes being doubled in text block
--------------------------+-----------------------------
 Reporter:  apetro        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I am having an issue within WordPress which it seems to be doubling the \
 within a file directory\path within a text block.
 For example, I have a directory or file path for someone to copy and
 paste, for example:

    C:\Program Files\MagicDraw\Plugins\(your downloaded Plugin)

 Gets changed to:
              C:\\Program Files\\MagicDraw\\Plugins\\(your downloaded
 Plugin)


 I have tried using the raw tag to try to keep the address raw text, shown
 below. But it seems to keep reverting back to the doubled \ state.
 <!--raw--><strong>C:\\Program Files\MagicDraw\Plugins\(your downloaded
 Plugin)</strong><!--/raw--></p>


 Additionally, I have not been able to determine the trigger for this
 either. It seems to happen randomly. I have tried opening the page in a
 new tab, closing all browser windows and revisiting the page, but still
 remains in the corrected state. It has been happening on a daily basis.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46589>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list