Displaying 20 results from an estimated 2000 matches similar to: "textilize/markdown/sanitize for messageboards, oh my!"
2006 Mar 07
6
Anybody use Red|Blue Cloth?
Does anybody use and prefer Redcloth (or bluecloth, which appears to be
alpha)? Does it affect performance much? Is there a way to get it to
automatically process templates without having to call textilize?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Jul 18
4
Limiting markdown/textile
I''m using RedCloth for a forum type app. I want users to have control
over the look of their posts, but within limits. For example, I don''t
want them to be able to include images or use header tags. The RedCloth
documentation is pretty thin and I don''t feel it''s very explanatory.
I''m wondering if there''s any easy way to do this? Or do I
2006 Apr 12
2
RedCloth versus BlueCloth efficiency
Has anyone profiled the performance of RedCloth versus BlueCloth?
I''m starting to realise that RedCloth is a more mature ruby project,
although Markdown the syntax maybe more widespread than Textilize.
Apart from the syntax, does anyone feel they have a preference, in terms
of performance or number of outstanding bugs?
Many thanks in advance.
CHEERS> SAM
2005 Jan 07
5
Instiki 0.9.2
Instiki 0.9.2 has arrived.
* The notorious "rollbacks by crawlers" bug fixed.
* Instiki is distributed as a gem (experimental)
* New maintainer (yours truly)
* Assorted other minor changes
Best regards,
Alexey Verkhovsky
=============
Don''t shoot the pianist, he''s doing his best
README
Path:
README
Last Update:
Fri Jan 07 10:06:43
2006 May 31
1
RedCloth vs BlueCloth -- RTL and Unicode?
Which has better support for Unicode, I18N and RTL languages, RedCloth or BlueCloth?
Warren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060531/a2f1f7da/attachment.html
2006 Feb 27
12
RedCloth
Is this the prefered method to implement RedCloth in your views. I''m
trying to display user input that will sometimes have code references in
it. This strips out all tags. I would like for the tags to be
displayed but not read as html.
Thanks in advance!
<%= RedCloth.new(strip_tags(comment.comment),[:filter_html]).to_html %>
charlie bowman
recentrambles.com
--
Posted via
2006 Apr 29
1
Textile to LaTeX
Hello,
Is there a patch laying around somewhere to convert
Textile to LaTeX? (Instiki did/does this?)
Or, better yet, is RedCloth 3.1 still in the pipeline?
In ruby-talk 129874 (7 Feb 2005), why the lucky stiff wrote:
>
> Let me give you a roadmap of what to expect with RedCloth 3
> in the coming months.
>
> RedCloth 3.1 will focus on getting us diverse outputs.
2006 Mar 24
9
Escaping characters
Hi,
I am writing some help about post formatting. I am using redcloth to
format the text, and in a FAQ, also formatted with redcloth, I explain
what to type to what to obtain.
So, how could I escape ''*'', ''#'' & Co, to have an output like
<redcloth>
Type *word* to obtain <strong>word</strong>
</redcloth>
I tried "Type
2008 Apr 10
5
Extending Bluecloth/Redcloth
I''d like to extend bleucloth or redcloth to support custom tags, e.g. I
want to use markup like this:
[pubmed:18332676]
which shall be extended to:
<a href="http://www.ncbi.nlm.nih.gov/pubmed/18332676">Behav Pharmacol.
2008 Mar;19(2):121-128.</a>
Does anyone know, if this is possible and has some hints how to do
this?! I have not decided, wether I want to use
2007 Feb 20
6
Markdown and Wikis
I would like to have a wiki that uses Markdown as the markup
language (or something very close), I've currently used PmWiki
and I really like it but there are some problems with using
Markdown so I'm interested to see if there is an alternative
that works better for me.
I've looked at wiki matrix and searched for and found the
following list
bitweaver, DekiWiki, DokuWiki, Friki,
2005 Dec 21
8
textilize - redcloth
Hi,
I''m using textilize with redcloth 3.0.4. Everything works best except
that paragraphs are not translated as an HTML paragraph
When I write something like:
*first paragraph*
second paragraph
the output is without paragraph:
*first paragraph*
second paragraph
Any help??? Thanks
Jörg
2006 Mar 25
2
Textilize problems with line breaks
I''m having a problem formatting some text. I have a textarea that I
input my text into, which will then be put into an e-mail and sent out.
The problem I am having is when there is a single line break.
Multiple line breaks work fine (hitting enter twice), but single line
breaks don''t seem to work properly.
Take the following input:
Line1.
Line2.
Line3.
Line4.
Using
2005 Dec 15
5
Instant Rails 1.0 preview7 -- with Typo!
My apologies to all who downloaded preview6, it did not contain Rails 1.0 as
advertised -- I screwed up!
Preview7 does, in fact, contain Rails 1.0 and as a bonus, also includes Typo
2.6.0 as a preinstalled sample app. See the Getting Started page for
instructions on running Typo in Instant Rails:
http://instantrails.rubyforge.org/wiki/wiki.pl?Getting_Started
Also, you can thank David Morton
2005 Dec 24
2
Textilize on ajax update
I''m writing a basic to-do
application. I''m using a form_remote_tag to submit the entry to my
controller, which then returns the entry to be displayed in the table
of to-do items. However, I''d like to be able to "textilize" the entry
without having to reload the page. Is there any way to have my ajax
function textilize the text before displaying it in the list?
2008 Oct 06
2
textilize with --- (3 dashes) removes text
Hi,
using --- (3 dashes) at the end of a string that is textilized,
results in a single hr tag without any text. This seems weird to me.
Am I overlooking something?
>> av = ActionView::Base.new
>> av.textilize("sometext ---")
=> "<hr />"
Cheers,
Jan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2006 Mar 25
4
the textilize method
I saw the guy in the 15 min blog video calling a method called textilize
however when i call it rails says it cant find this method. Is this
somehting extra i have to install to ruby... like a gem or somehting
--
Posted via http://www.ruby-forum.com/.
2006 Mar 10
2
textilize != RedCloth.new ?
For me, textilize(stuff) produces nasty stuff - <br>''s instead of
enclosing <p>''s and some closing <h*>''s are missing. RedCloth.new(stuff)
works fine though. Isn''t textilize supposed to produce the same output?
Or do I need to tweak something?
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Jan 03
2
Instant Rails 1.0 Release Candidate 1
This release upgrades the included Ruby to version 1.8.4 and will become the
final 1.0 release of Instant Rails if no serious problems are found.
Instant Rails is a one-stop Rails runtime solution containing Ruby, Rails,
Apache, and MySQL, all preconfigured and ready to run. No installer, you
simply drop it into the directory of your choice and run it. It does not
modify your system environment.
2006 May 05
4
Is sanitize() strong enough to protect me from XSS?
Haven''t been able to find a good enough answer on whether using
sanitize() is enough to really protect me from XSS attacks
I basically have a blog page that I want to allow people to display
comments on but would like to allow html tags to be posted on the
comments, these could html tags like the imageshack img tags, youtube
player, photobucket img tags etc
any other approaches or
2006 Mar 17
0
Installed Gems on godaddy.com
Hi, is there a core list of gems that one needs to install in a production
environment? Anyways, here''s a current list of installed gems on
godaddy.com:
Gems *actionmailer 1.0.1* [www] <http://www.rubyonrails.org/> - depends on
actionpack <http://www.situationman.com/_h_admin_/gems.html#actionpack>.
Service
layer for easy email delivery and testing.
*actionmailer 1.1.5*