title: Inkscape doesn't allow to edit svg text lines once it has been saved as plain svg or treated with scour
body: <p>I was for several days trying to find a solution to the following problem : </p>
  
  <ul>
  <li>Create a svg with text (simply click with the text tool to add text, do not drag to open a frame)</li>
  <li>Type enter to create a multiline text, add several lines of text</li>
  <li>Save as plain svg or optimized svg</li>
  <li>Or treat with scour in command-line</li>
  </ul>
  
  <p>Reopen with Inkscape : you cannot edit the text, it shows it properly but when you go to the next line (with the mouse or keyboard arrow down) the cursor stays on the first line.</p>
  
  <p>This is an annoying bug running for some time in Inkscape and doesn't help with web edition.</p>
  
  <p>But there are solutions... See the following thread to manually (in vim) replace all tspans : 
  <a href="https://stackoverflow.com/questions/33317532/vim-search-replace-regex-incremental-function">Vim search replace regex + incremental function</a></p>
  
  <p>And see my answer below to correct the svg code in order to get your Inkscape files back in working order !!!</p>