emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* (unknown)
@ 2020-03-15 22:42 Arne Babenhauserheide
  2020-03-16  0:11 ` [PATCH] ox-html: escape & in license magnets Kyle Meyer
  0 siblings, 1 reply; 5+ messages in thread
From: Arne Babenhauserheide @ 2020-03-15 22:42 UTC (permalink / raw)
  To: Colin Baxter; +Cc: emacs-orgmode

Subject: [PATCH] ox-html: escape & in license magnets
In-Reply-To: <87d09dz92a.fsf@yandex.com>
Date: Sun, 15 Mar 2020 23:36:37 +0100
References: <87eett7bql.fsf@yandex.com> <871rpt9zc4.fsf@kyleam.com> <87d09dz92a.fsf@yandex.com>
References: <87d09dz92a.fsf@yandex.com>
User-agent: mu4e 1.2.0; emacs 26.3
* lisp/ox-html (org-html-scripts): & escaped as &amp;
* lisp/ox-html (org-html-infojs-template): & escaped as &amp;

This fixes xhtml validation while still being recognized by LibreJS as
valid license.
---
 lisp/ox-html.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 9a1dd44b5..5c2b766e9 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -232,7 +232,7 @@ property on the headline itself.")

 (defconst org-html-scripts
   "<script type=\"text/javascript\">
-// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
+// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&amp;dn=gpl-3.0.txt GPL-v3-or-Later
 <!--/*--><![CDATA[/*><!--*/
      function CodeHighlightOn(elem, id)
      {
@@ -510,12 +510,12 @@ means to use the maximum value consistent with other options."

 (defcustom org-html-infojs-template
   "<script type=\"text/javascript\" src=\"%SCRIPT_PATH\">
-// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
+// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&amp;dn=gpl-3.0.txt GPL-v3-or-Later
 // @license-end
 </script>

 <script type=\"text/javascript\">
-// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later
+// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&amp;dn=gpl-3.0.txt GPL-v3-or-Later
 <!--/*--><![CDATA[/*><!--*/
 %MANAGER_OPTIONS
 org_html_manager.setup();  // activate after the parameters are set
--
2.25.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* Re: (unknown)
@ 2021-05-07 12:51 Eric Skoglund
  2021-05-07 14:40 ` (unknown) Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Skoglund @ 2021-05-07 12:51 UTC (permalink / raw)
  To: Krupal; +Cc: bzg, emacs-orgmode

Krupal <krupalinbox@gmail.com> writes:

I'd be happy to help as well.

In particular I have some experience of making responsive (and
accessible) websites from when it used to be part of my job.

// Eric



^ permalink raw reply	[flat|nested] 5+ messages in thread
* (unknown)
@ 2007-04-04 19:09 Jost Burkardt
  0 siblings, 0 replies; 5+ messages in thread
From: Jost Burkardt @ 2007-04-04 19:09 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I really love the integration of remember with org, especially the way
how to insert the notes by moving within the headings-tree. 

Is it possible to use this feature also for moving portions of text
via regular copy/paste an org-buffer, and have org automatically adapt
the header levels? I didn't find anything in the manual.

One possible workaround for me is to use remember-clipboard, which has
the drawback, that the clipboard's content is indented, so I always
have to remove the indentation by hand.

What do you think?
Jost

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-07 14:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-15 22:42 (unknown) Arne Babenhauserheide
2020-03-16  0:11 ` [PATCH] ox-html: escape & in license magnets Kyle Meyer
  -- strict thread matches above, loose matches on Subject: below --
2021-05-07 12:51 (unknown) Eric Skoglund
2021-05-07 14:40 ` (unknown) Bastien
2007-04-04 19:09 (unknown) Jost Burkardt

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).