[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] switch off validate - how?
From: |
Nick Dokos |
Subject: |
Re: [O] switch off validate - how? |
Date: |
Mon, 20 May 2019 15:09:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Amin Bandali <address@hidden> writes:
> Hello,
>
> Nick Dokos <address@hidden> writes:
>
> [...]
>
>>
>> C-h v org-html-validation-link RET
>>
>> Set it to "", but there are still validation remnants left in the HTML
>> file, which is probably a bug:
>>
>> ,----
>> | <div id="postamble" class="status">
>> | <p class="author">Author: Nick Dokos</p>
>> | <p class="date">Created: 2019-05-20 Mon 12:43</p>
>> | <p class="validation"></p> <<<<<<<<<<< this should disappear.
>> | </div>
>> `----
>
> Indeed, it would be nice if setting `org-html-validation-link' to "" or
> nil didn’t insert the wrapping paragraph. In the meantime, you can
> customize C-h v org-html-postamble-format RET and get rid of the
> validation paragraph entirely.
>
You can't [fn:1] set `org-html-validation-link' to nil because the defcustom
specifies a string.
Redefining the postamble format is indeed a good solution, probably the
best solution currently available. `org-html-validation-link' should probably
only be used to point to a different validation engine, not to get rid of
validation altogether.
* Footnotes
[fn:1] At least through `customize' or `set-variable' - `setq' will of course
let you do anything you want.
--
Nick