emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* #+ATTR_HTML examples uses old syntax
@ 2020-09-12 22:09 Nick Dokos
  2020-09-13  4:52 ` Kyle Meyer
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Dokos @ 2020-09-12 22:09 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 156 bytes --]

The attached patch fixes an example in the "Tables in HTML export"
section of the manual that uses the old `border="3"' syntax instead
of `:border 3' etc.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Fix doc bug - #+ATTR_HTML example uses old syntax --]
[-- Type: text/x-patch, Size: 941 bytes --]

From 52be0b5b1fe492b3ff44e6ccd6dbfaed1eb88537 Mon Sep 17 00:00:00 2001
From: Nick Dokos <ndokos@gmail.com>
Date: Sat, 12 Sep 2020 17:47:29 -0400
Subject: [PATCH] Fix syntax of #+ATTR_HTML

The example in the "Tables in HTML export" section of the manual
uses the old syntax: `border="2"' etc.

Change it to use `:border 2' etc.
---
 doc/org-manual.org | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/org-manual.org b/doc/org-manual.org
index 46498bd22..be60d99f6 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -12817,7 +12817,7 @@ following lines before the table in the Org file:
 #+cindex: @samp{ATTR_HTML}, keyword
 #+begin_example
 ,#+CAPTION: This is a table with lines around and between cells
-,#+ATTR_HTML: border="2" rules="all" frame="border"
+,#+ATTR_HTML: :border 2 :rules all :frame border
 #+end_example
 
 The HTML export back-end preserves column groupings in Org tables (see
-- 
2.25.4


[-- Attachment #3: Type: text/plain, Size: 140 bytes --]


-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler

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

* Re: #+ATTR_HTML examples uses old syntax
  2020-09-12 22:09 #+ATTR_HTML examples uses old syntax Nick Dokos
@ 2020-09-13  4:52 ` Kyle Meyer
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle Meyer @ 2020-09-13  4:52 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Nick Dokos writes:

> The attached patch fixes an example in the "Tables in HTML export"
> section of the manual that uses the old `border="3"' syntax instead
> of `:border 3' etc.

> Subject: [PATCH] Fix syntax of #+ATTR_HTML
>
> The example in the "Tables in HTML export" section of the manual
> uses the old syntax: `border="2"' etc.
>
> Change it to use `:border 2' etc.

Thanks.  Applied (b567445fc), adding a changelog entry to the message.


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

end of thread, other threads:[~2020-09-13  4:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-12 22:09 #+ATTR_HTML examples uses old syntax Nick Dokos
2020-09-13  4:52 ` Kyle Meyer

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