Fix HTML_ATTR rendering (naive)

- was missing spaces between attributes when rendering to org
- was duplicating attributes when rendering to html - now we join / replace
  attributes depending on the name - for now only class & style are appended
This commit is contained in:
Niklas Fasching 2018-12-11 20:16:16 +01:00
parent 08ff3ac22e
commit 0a905ca172
6 changed files with 28 additions and 12 deletions

View file

@ -1,5 +1,5 @@
<figure>
<div class="highlight" class="a b c" id="it">
<div class="highlight a b c" id="it">
<pre>echo &#34;a bash source block with custom html attributes&#34;
</pre>
</div>