similar to: escape block using red cloth

Displaying 20 results from an estimated 400 matches similar to: "escape block using red cloth"

2006 Apr 27
2
Red cloth
what is the require I must put in my enviremnt to use red cloth? -- Posted via http://www.ruby-forum.com/.
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/.
2007 Jan 28
1
^SUPER^ _RED_ ~CLOTH~ 1.153
New gems (source and win32): gem install superredcloth --source http://code.whytheluckystiff.net Use it like: SuperRedCloth.new("_huh?_").to_html Okay, getting close! A lot more tests are passing. There are still about 50 tests failing. Most of these are due to ol/ul list problems. Here''s what''s still broken: * Options (:hard_breaks, :filter_html, etc.) *
2006 Feb 12
6
habtm doesn''t save old IDs
I''m sure I''m not getting something. I have Users, and I have Groups. Each User has_and_belongs_to_many :groups and each Group has_and_belongs_to_many :users. When I add a user, I want to apply a bunch of groups (like tags) to the user (manually, without acts_as_taggable). Here''s User#create: @user = User.new(params[:user]) @user.groups =
2006 Feb 21
10
segfault after page view
I realize this is slightly off-topic, but I''m stumped and I hope someone else has had the same problem. When running a rails app using webrick (script/server), I can load any given page which involves a controller once, and any subsequent page loads trigger a "Segmentation fault" without any other info. This problem is very new, and has only started occurring since I last
2006 Mar 22
2
observe_form without ajax?
This betrays my lack of javascript knowledge, but is it possible to watch a whole form for changes and activate some javascript when those changes occur without any remote request? That is, I want to do exactly what observe_form does, but without the ajax call actually happening. I realize I could use the form_tag :onchange parameter, but that seems to be incapable of doing things like
2004 Mar 07
1
imap internaldate
I think I found a bug in dovecot which I'm not sure where to fix. (I may even have found a reference to it in an archived list message from Jul 2003.) Here is the situation: dovecot (dovecot-0.99.10.4) running with an imap server on an mbox system is queried by a local client program, like Mail.app, and is told the "Received" date of the message (presumably sent through
2009 May 05
3
Only partially reading a page!
I am trying to get a page which includes a form, but the form is missing from the WWW::Mechanize::Page object. I retrieve it via: page = web_agent.submit(a_different_form) For debugging this problem, I then immediately write the resulting page to two different logs: File.open(''big.html'',''wb'') { |f| f.write(page.body) }
2007 May 08
2
Extending SuperRedCloth
Fellows of the cloth -- I''m writing code that subclasses RedCloth and emits styled text that is not HTML. For example, I''m going to be emitting RTF and other formats from Textile or Markdown. I''ve got it working quite well with plainclothed RedCloth, but I can''t seem to override any of the methods in SuperRedCloth. Here''s a sample:
2006 Jan 27
9
RedCloth Hard Breaks
Has anybody gotten :hard_breaks to work with RedCloth? I''m doing: self.body_html = RedCloth.new(self.body).to_html(:textile) which works, except that it doesn''t transform hard breaks to <br /> tags, which is really important for me. However, if I do: self.body_html = RedCloth.new(self.body, [ :hard_breaks ]).to_html(:textile) then it converts ALL breaks into <br
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
2008 Mar 09
4
comment avoir la liste des gems ?
bonjour , je voudrais savoir de quelle façon est ce qu''on peut savoir les gems installés dans un serveur hebergeur sans avoir acces au SSH ? pour les informations sur rails ou ruby c''est fait ;) en utilisant la commande suivante dans une view : Rails::Info.to_html mais le probleme ça donne pas de detail sur les gems !!!! une idée ?
2004 Jun 08
7
NetworkWorld article on Open Source Telephony
An interesting article for those needing ammunition to sell Asterisk within their organisation or to others: "Is open source IP telephony ready for prime time? Yes" by Zenas Hutcheson, St. Paul Venture Capital Network World, 06/07/04 http://www.nwfusion.com/columnists/2004/0607faceoffyes.html On a related note, they also have an article arguing the contrary position (see link within
2009 Jul 16
2
Count the number of occurences in ranges
I got a vector of probabilities like, probs<-c(0.001,0.5,0.02,1,.....) Is there any nice and easy builtin function to get the number of occurences within some specified probabality range. Like with 2% it would be occur[1] = sum(probs[probs>0&probs<0.02]) occur[2] = sum(probs[probs>0.02&probs<0.04]) ... occur[50] =sum(probs[probs>0.09] & probs<1) (If it was a
2006 Jun 14
7
CR issue
Hi, I am using RedCloth (3.0.4). First using online text2html (http://www.textism.com/tools/textile/) , "123 456" returns <p>123<br />456</p> But by code: <code> require ''RedCloth'' puts RedCloth.new("123\n456").to_html </code> I got: <p>123 456</p> CR is not taken in consideration. Is there any parameter I am
2006 May 23
4
Version 0.80 of Prototype Window Class
Hi I have just posted a new release of my Prototype Window Class (http://blogus.xilinus.com/pages/javawin) Seb
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 Apr 25
4
redcloth poblems
Hi, I''m having some problems with redcloth(3.0.4 gem) and textilize. I have a string: "h2. hello _what''s up?_" which is being textilized as: <h2>hello<br /> <em>what&#8217;s up?</em></h2> so no paragraph and h2 wrapped all the way. the input is coming from firefox 1.5.2 on a mac Anybody got any idea what the problem might be? --
2011 Jan 13
9
spurious <li> generated when list followed by 3
RedCloth master generates a spurios <li> element when a numbered or undumbered list is followed by three or more newlines. RedCloth.new("* one\n* two\n* three \n\n\n").to_html #=> "<ul>\n\t<li>one</li>\n\t<li>two</li>\n\t<li>three</li>\n</ul>\n<li>" # note extra trailing <li> outside <ul> A colleague
2003 Nov 18
1
entourage + dovecot bug?
I have dovecot set up to run IMAP services without SSL (I have tested many other configurations as well, but this reproduces the problem the simplest). When attempting to connect to the imap server using Entourage for OS X on a mac, I receive the following error: Mail could not be received at this time. The server returned the following error . Dovecot reports a successful login and nothing