emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Augustin Fabre <augustin@augfab.fr>
To: emacs-orgmode@gnu.org
Subject: [PATCH] ox-html.el: Use HTTPS for link to W3 HTML validator
Date: Sun, 15 Mar 2020 10:32:42 +0100	[thread overview]
Message-ID: <87sgianeth.fsf@augfab.fr> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 126 bytes --]

W3 supports HTTPS but doesn't redirect HTTP requests to HTTPS, so 
we might as well use the HTTPS link directly.
--
Augustin


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: patch --]
[-- Type: text/x-diff, Size: 903 bytes --]

From bb0e5029249e0b19b17cf833fec480c21518dc52 Mon Sep 17 00:00:00 2001
From: Augustin Fabre <augustin@augfab.fr>
Date: Sun, 15 Mar 2020 09:44:46 +0100
Subject: [PATCH] ox-html.el: Use HTTPS for link to W3 HTML validator

* lisp/ox-html.el (org-html-validation-link): Use HTTPS link to W3
HTML validator.

TINYCHANGE
---
 lisp/ox-html.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 319f178cb..5419ed50d 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -1279,7 +1279,7 @@ like that: \"%%\"."
 		(string :tag "Format string"))))
 
 (defcustom org-html-validation-link
-  "<a href=\"http://validator.w3.org/check?uri=referer\">Validate</a>"
+  "<a href=\"https://validator.w3.org/check?uri=referer\">Validate</a>"
   "Link to HTML validation service."
   :group 'org-export-html
   :type 'string)
-- 
2.20.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 658 bytes --]

             reply	other threads:[~2020-03-15  9:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-15  9:32 Augustin Fabre [this message]
2020-03-15 16:00 ` [PATCH] ox-html.el: Use HTTPS for link to W3 HTML validator Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgianeth.fsf@augfab.fr \
    --to=augustin@augfab.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).