Online editor automatically changes   into space (BB-11099)

Issue #10212 closed
John Garcia created an issue

In the user's words:

I've found an issue when editing source code via the web based editor:

It seems to strip " " and replace it with a space " " like so:

for ($i = 1; $i <= $depth; $i++)
{ - $tabs .= ' '; + $tabs .= '  '; }

If you take a look at this commit ( you can see I got rid of some extra new lines and it decided to remove my 's as well! Seems to be fine if you insert them, but change anything else and it replaces them.

Comments (4)

  1. Andrew Hughes

    I'm seeing a related issue with &gt; being converted into > upon editing a file.


    res.write('<div style="text-align:center;">&gt;:|</div>');

    Editor Version:

    res.write('<div style="text-align:center;">>:|</div>');
  2. Atlassian Bitbucket

    This issue has been closed due to inactivity. If you continue to see problems, please reopen or create a new issue.

  3. Log in to comment