ox: Allow to use empty strings in attributes
commit659edb40a57114d4ee7592322fa1d5bd1d588844
authorNicolas Goaziou <n.goaziou@gmail.com>
Wed, 10 Apr 2013 16:33:12 +0000 (10 18:33 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Wed, 10 Apr 2013 16:50:52 +0000 (10 18:50 +0200)
tree7ab6ab184eaf7f02d6d477f1c68a1200b0a57541
parent69ebb265be118ea1a37afb9603c4582d25d33d09
ox: Allow to use empty strings in attributes

* lisp/ox.el (org-export-read-attribute): Allow to use empty strings
  in attributes.
* testing/lisp/test-ox.el: Add tests.

With this patch,

  #+attr_backend: :a "" becomes (:a "")
  #+attr_backend: :a """" becomes (:a "\"\"")
  ...
lisp/ox.el
testing/lisp/test-ox.el