title: HTML to RST converter
body: <p>I have a lot of RST (reStructuredText) files converted to HTML using docutils.
  Using a small developed JS app (a basic iframe with HTML5 contenteditable attribute), non-tech people can easily edit the generated HTML page. The goal would be apply the modification done in HTML back into the original RST file.</p>
  
  <p>I'm wondering if there is a way to train an algorithm with the ground-truth of original_RST -> outputed_HTML conversion so we can later reverse outputed_HTML+minor modification back to RST ? What kind of algorithm will it be ? Which way should I start digging ?</p>
  
  <p>To simplify the problem, instead of RST, I can also use the internal XML AST representation of docutils as document input (RST to XML-AST: <a href="http://docutils.sourceforge.net/tools/quicktest.py" rel="noreferrer">http://docutils.sourceforge.net/tools/quicktest.py</a>) and later, fix the xml2rst+xslt project (<a href="http://www.merten-home.de/FreeSoftware/xml2rst/" rel="noreferrer">http://www.merten-home.de/FreeSoftware/xml2rst/</a>)</p>
  
  <p>Any suggestion is welcome</p>