Nicolas Goaziou <[email protected]> writes:
> I've pushed a change in that direction. Unchecked boxes do not rely
> anymore on visibility:hidden style property.
Looks OK, but the space should probably be replaced by to avoid
possible tearing of the checkbox. The regex for matching does not
catch "[-]", which explains why this type of checkbox is not boldened.
I think something like
(if (string-match "^[ \t]*\\[\\([X -]\\)\\]" line)
(setq line
(replace-match
(if (equal (match-string 1 line) " ")
"<b>[ ]</b>"
(concat "<b>[" (match-string 1 line) "]</b>")
t t line))))
should work, but I don't have enough experience with the string
replacement functions to be sure that it always does.
Meanwhile I've encountered the same questionable construct in the HTML
export of "\\___" (whitespace placeholder).
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode