all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Possible bug rendering html lines
@ 2008-07-18 18:00 Richard G Riley
  2008-07-18 18:50 ` Carsten Dominik
  2008-07-19 11:58 ` Daniel Clemente
  0 siblings, 2 replies; 4+ messages in thread
From: Richard G Riley @ 2008-07-18 18:00 UTC (permalink / raw)
  To: org-mode


#+HTML: <div "width:100px;">
  [[../images/mode.gif]]
#+HTML: </div>


produces this as the html export:

<div width:100px;="">
<p>
<img src="../images/mode.gif"/>
</p>
</div>

Am I missing some sort of escape requirements?

6.06pre1

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

* Re: Possible bug rendering html lines
  2008-07-18 18:00 Possible bug rendering html lines Richard G Riley
@ 2008-07-18 18:50 ` Carsten Dominik
  2008-07-19 11:58 ` Daniel Clemente
  1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2008-07-18 18:50 UTC (permalink / raw)
  To: Richard G Riley; +Cc: org-mode


I cannot reproduce this.  What I am getting is this:

<div "width:100px;">
<p>
<img src="../images/mode.gif"/>
</div>
</p></div>
</div>

So there is not quoting problem here.  However, there is a problem  
with the div stacking, these things are very hard to fix, and I do not  
recommend to use the HTML quotes to insert single div tags.  Better in  
this case is propably to insert the full HTML section you need, like

#+BEGIN_HTML
<div "width:100px;">
<img src="../images/mode.gif"/>
</div>
#+END_HTML



HTH

- Carsten

On Jul 18, 2008, at 11:00 AM, Richard G Riley wrote:

>
> #+HTML: <div "width:100px;">
>  [[../images/mode.gif]]
> #+HTML: </div>
>
>
> produces this as the html export:
>
> <div width:100px;="">
> <p>
> <img src="../images/mode.gif"/>
> </p>
> </div>
>
> Am I missing some sort of escape requirements?
>
> 6.06pre1
>
>
> _______________________________________________
> 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

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

* Re: Possible bug rendering html lines
  2008-07-18 18:00 Possible bug rendering html lines Richard G Riley
  2008-07-18 18:50 ` Carsten Dominik
@ 2008-07-19 11:58 ` Daniel Clemente
  2008-07-19 13:01   ` Richard G Riley
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel Clemente @ 2008-07-19 11:58 UTC (permalink / raw)
  To: Richard G Riley; +Cc: org-mode


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

>
>
> #+HTML: <div "width:100px;">

 ...

> <div width:100px;="">

...

  Both HTML codes are wrong; it should be: <div style="width:100px;">

[-- Attachment #1.2: Type: text/html, Size: 564 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

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

* Re: Possible bug rendering html lines
  2008-07-19 11:58 ` Daniel Clemente
@ 2008-07-19 13:01   ` Richard G Riley
  0 siblings, 0 replies; 4+ messages in thread
From: Richard G Riley @ 2008-07-19 13:01 UTC (permalink / raw)
  To: Daniel Clemente; +Cc: org-mode, Richard G Riley

"Daniel Clemente" <n142857@gmail.com> writes:

>    
>     #+HTML: <div "width:100px;">
>
>  ...
>
>     <div width:100px;="">
>
> ...
>
>   Both HTML codes are wrong; it should be: <div style="width:100px;">

Yes, I spotted that in my example last night. There is still something
interfering with the correct way though on my system and I am trying to
track it down - both in #+HTML: and #+HTML_BEGIN styles.

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

end of thread, other threads:[~2008-07-19 13:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18 18:00 Possible bug rendering html lines Richard G Riley
2008-07-18 18:50 ` Carsten Dominik
2008-07-19 11:58 ` Daniel Clemente
2008-07-19 13:01   ` Richard G Riley

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.