Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Instiki problems

Reply
Thread Tools

Instiki problems

 
 
Han Holl
Guest
Posts: n/a
 
      10-26-2004

(If there is another platform for instiki questions, I'll be glad to use that,
but I didn't find any).

1. If I have a page that contains: < m >
and I fetch that page, I get (lots cutted):
<form id="editForm" action="../save/eindfuncties" method="post"
onSubmit="cleanAuthorName();">
<p>
<textarea name="content" style="width: 450px; height: 500px">
< m ></textarea>
</p>
<p>

This is invalid xml: The < and > in the textarea should be replaced by
entities.

2. About half the <input ... > elements in the app directory-tree are not
closed. Easy enough to fix, and apparently parsers don't care, but my app
does.

Cheers,

Han Holl


 
Reply With Quote
 
 
 
 
Han Holl
Guest
Posts: n/a
 
      10-26-2004
On Tuesday 26 October 2004 20:53, Han Holl wrote:

> closed. Easy enough to fix, and apparently parsers don't care, but my app


Not parsers, browsers.

Han


 
Reply With Quote
 
 
 
 
Han Holl
Guest
Posts: n/a
 
      10-26-2004
On Tuesday 26 October 2004 20:53, Han Holl wrote:
> (If there is another platform for instiki questions, I'll be glad to use
> that, but I didn't find any).
>
> 1. If I have a page that contains: < m >
> and I fetch that page, I get (lots cutted):
> <form id="editForm" action="../save/eindfuncties" method="post"
> onSubmit="cleanAuthorName();">
> <p>
> <textarea name="content" style="width: 450px; height: 500px">
> < m ></textarea>
> </p>
> <p>

I solved this, by changing edit.rhtml, line 13 to
<textarea name="content" style="width: 450px; height: 500px"> \
<![CDATA[<%= @page.content %>]]></textarea>

No longer any parsing problems.

Cheers,

Han Holl


 
Reply With Quote
 
Han Holl
Guest
Posts: n/a
 
      10-26-2004
On Tuesday 26 October 2004 21:37, Han Holl wrote:

> I solved this, by changing edit.rhtml, line 13 to
> <textarea name="content" style="width: 450px; height: 500px"> \
> <![CDATA[<%= @page.content %>]]></textarea>
>
> No longer any parsing problems.
>

Aaah!. No longer any parsing problems, but if I open the edit window I
see [DATA[ at the begin and ]] at the end of the textarea.

I don't see <!

Cheers,

Han Holl


 
Reply With Quote
 
Austin Ziegler
Guest
Posts: n/a
 
      10-26-2004
On Wed, 27 Oct 2004 05:03:05 +0900, Han Holl
<(E-Mail Removed)> wrote:
> On Tuesday 26 October 2004 21:37, Han Holl wrote:
> > I solved this, by changing edit.rhtml, line 13 to
> > <textarea name="content" style="width: 450px; height: 500px"> \
> > <![CDATA[<%= @page.content %>]]></textarea>
> > No longer any parsing problems.

> Aaah!. No longer any parsing problems, but if I open the edit window I
> see [DATA[ at the begin and ]] at the end of the textarea.
> I don't see <!


I just tested this in Ruwiki and the behaviour with <![CDATA[...]]> is
the same, at least on Mozilla. However, I don't believe that Ruwiki
exhibits the same parsing behviour that you're experiencing, because I
*think* that I do a proper entity clean in Ruwiki.

-austin
--
Austin Ziegler * http://www.velocityreviews.com/forums/(E-Mail Removed)
* Alternate: (E-Mail Removed)
: as of this email, I have [ 5 ] Gmail invitations


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Instiki 0.10.2 CBlair1986@gmail.com Ruby 2 10-10-2005 05:07 AM
[Nuby on instiki/wiki] Putting images on an instiki page Peņa, Botp Ruby 1 09-19-2004 10:51 AM
[ANN] Instiki 0.3.0: Before the Storm David Heinemeier Hansson Ruby 5 04-11-2004 11:53 PM
Redcloth and instiki Guillaume Marcais Ruby 2 04-08-2004 02:40 AM
[ANN] Instiki: There's no step three David Heinemeier Hansson Ruby 4 02-25-2004 12:49 PM



Advertisments