emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: emacs-orgmode Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: XHTML has no ...
Date: Fri, 19 Dec 2008 07:22:03 +0100	[thread overview]
Message-ID: <0AED3360-541A-4C7E-A502-374A27222C2A@uva.nl> (raw)
In-Reply-To: <87vdth2bgs.fsf@kassiopeya.MSHEIMNETZ>


On Dec 19, 2008, at 2:35 AM, Sebastian Rose wrote:

> Hi,
>
>
> found some errors in publishing. I find them once in a while when
> rescanning my exported XHTML-files for my little search engine here:
> http://github.com/SebastianRose/org-search.php/tree/master
>
>
>
> * XHTML has no...
>
> - ... attribut `name' in `<a name="'. `id' is enough for anchors.
>   Right now we have:
>
>      <a name="s" id="s">...
>
>   Should be:
>
>     <a name="s" id="s">...

If I look at http://www.w3schools.com/tags/tag_a.asp
it seems that the a tag has a name, but no id......????

> - `Element pre is not declared in p list of possible children'
>    means no `<pre>' allowed inside a `<p>' element (close-par- 
> maybe ??)

I believe for this I would need an example org and html
file, and the line number of the problem.

> * Opening and ending tag mismatch: p line 1837 and div in /home/ 
> sebastian/develop/htdocs/org-notes/Emacs/org-mode.html, line: 1838
>
>  <img src="ditaa-all-examples.png"  alt="ditaa-all-examples.png">
>
>  should be
>
>  <img src="ditaa-all-examples.png"  alt="ditaa-all-examples.png" />

Will this be accespted by older browsers?

Thanks!

- Carsten

>
>
> diff --git a/lisp/org-exp.el b/lisp/org-exp.el
> index 32a917f..9b4bb70 100644
> --- a/lisp/org-exp.el
> +++ b/lisp/org-exp.el
> @@ -3716,7 +3716,7 @@ lang=\"%s\" xml:lang=\"%s\">
> 	   (attr (org-find-text-property-in-string 'org-attributes src))
> 	   (label (org-find-text-property-in-string 'org-label src)))
>       (format "<div %sclass=\"figure\">
> -<p><img src=\"%s\"%s></p>%s
> +<p><img src=\"%s\"%s /></p>%s
> </div>"
> 	      (if label (format "id=\"%s\" " label) "")
> 	      src
>
>
>
> Regards,
>
> --
> Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449  
> Hannover
> Tel.:  +49 (0)511 - 36 58 472
> Fax:   +49 (0)1805 - 233633 - 11044
> mobil: +49 (0)173 - 83 93 417
> Http:  www.emma-stil.de
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2008-12-19  6:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-19  1:35 XHTML has no Sebastian Rose
2008-12-19  6:22 ` Carsten Dominik [this message]
2008-12-19 10:52   ` Sebastian Rose
2008-12-19 11:48     ` Carsten Dominik
2008-12-19 13:52       ` Sebastian Rose

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=0AED3360-541A-4C7E-A502-374A27222C2A@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastian_rose@gmx.de \
    /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).