search for: textism

Displaying 11 results from an estimated 11 matches for "textism".

2007 Jan 16
1
<BR> and <P> in RedCloth v. Textism
...s for a great tool! I have a question about an apparent discrepancy between RedCloth and Textile, relating to newline characters. I''ve played with the "hard_breaks" feature and that seems to generate it''s own problems.. If I go onto the Textile test page: http://www.textism.com/tools/textile/index.php And enter the following text: test text other I get back: <p>test<br /> text</p> <p>other</p> In IRB if I try to feed an equivalent string to RedCloth I get (accounting for hard_breaks on and off here): irb(main):0...
2006 Jun 05
2
Bug in RedCloth or in my head?
Instead of emm-dashes I get struck-out text surrounded with single hyphens. RedCloth 3.0.4: >> d = RedCloth.new "-- hyphens to the left of me, hyphens to the right, all should be emm dashes --" => "-- hyphens to the left of me, hyphens to the right, all should be emm dashes --" >> d.to_html => "<p><del>- hyphens to the left of me, hyphens
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 p...
2006 Aug 23
0
emdash vs <del>
Hey guys. Is this a bug or what? >> RedCloth.new("First part -- middle part -- end part.").to_html => "<p>First part <del>- middle part -</del> end part.</p>" But http://textism.com/tools/textile/index.php says the output should be: <p>First part&#8212;middle part&#8212;end part.</p> Thing is, I *want* textism.com''s output. Here''s my workaround: >> RedCloth.new("First part-- middle part -- end part.").to_html =&g...
2007 Sep 27
2
wxRuby Documentation / Textitle Docs
Hey All, Just wanted to let you guys know, that with the HTML Generated documentation from the Textile source code, does not show *''s in stuff like Wx::FileDialog. It''s interpreting this as a Bold, not as an Asterisk. Just thought you''d want to know that. L8ers, Mario Steele
2008 May 13
4
hard_breaks issues
...post here because I''d like to have a clear view on "hard_breaks" related issues. I saw old references on the web and on the archives on this ML, I''d like a fresh view ! It seems that RedCloth 3.0.4 does not handle "\n" as my previous reference (here : http://textism.com/tools/textile/index.php). Actually, "hobix.com" website (quoted in the redcloth doc) differs on the "<br>" point. So first, can you confirm which is the real reference for the Textile "language", and what spec Redcloth follow ? The latest stable release d...
2007 Mar 24
3
Patch for superredcloth to enable textile table headers
SuperRedCloth v1.160 and svn rev 163 don''t work the textile commands that specify table headers instead of table data. Here''s a simple test: require ''superredcloth'' w = "|_. a|_. b|_. c|\n|1|2|3|" h = SuperRedCloth.new(w).to_html puts h <table> <tr> <td>_. a</td>
2007 Aug 23
20
Eliminating bad tests from SuperRedCloth
Hi, all. I haven''t felt at liberty to go axing test cases, but some of the 33 that are failing now are ones I don''t think we want to pass? cruft coming from Markdown or made up to fill a gap some years ago. I''d like to float the proposition that we make Super (and thus RedCloth 4) behave as identically as possible to Textile2 as working on
2006 Apr 13
4
equivilent to PHP''s nl2br?
Hey all, this is a pretty simple question but I can''t seem to find anything on the wikki or google... Is there a Ruby/Rails equivilent to PHP''s nl2br function? -- Posted via http://www.ruby-forum.com/.
2006 Jul 18
1
Document Management Suggestions
I am looking to create an intranet document management solution that would take advantage of Ruby/Rails/Subversion etc. I want to get away from document management using MS Word, Excel etc. Can anyone recommend a direction I should investigate? I am currently gathering information on Docbook, Latex, ODF,ODT,ODG,ODP, TinyMCE and others as I find them. Ideally I would like to convert manuals
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? --