Getting started
Frederick Ros
sl33p3r at free.fr
Wed Sep 22 18:55:42 EDT 2004
Sorry for the duplicate ..; dunno if the first one goes through :(
| Ok, and am I right that it wouldn't make sense to have an
| entries.html.redrum because textile doesn't do a full page properly
| (i.e. no way of doing the HTML tags, the HEAD tags, the TITLE tags, the
| META tags, etc.) but if you want to use it for subsections, that's where
| it could work properly?
Can't you embed HTML tags in textile ? I think you can :
irb(main):021:0> puts RedCloth.new(<<EOL
irb(main):022:1" <html><head><title> Yeah !!</title></head>
irb(main):023:1" <body>
irb(main):024:1" *Are you sure ?*
irb(main):025:1" </body></html>
irb(main):026:1" EOL
irb(main):027:1> ).to_html
<p><html><head><title> Yeah !!</title></head><br />
<body><br />
<strong>Are you sure ?</strong><br />
</body></html><br />
</p>
=> nil
irb(main):028:0>
--
Frederick Ros aka Sleeper
Don't diddle code to make it faster - find a better algorithm.
- The Elements of Programming Style (Kernighan & Plaugher)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20040923/45e673fb/attachment.bin
More information about the Hobix-is-the-way
mailing list