Questions tagged [bluecloth]

Markdown library in a Ruby gem

bluecloth is a Markdown library written for Ruby.

See also

Resources

25 questions
1
vote
0 answers

RoR e-commerce product description not activating

new to ROR ecommerce and am having trouble activating a product. I have entered a description which saves and appears in the overview and input box but not in the preview in the description editor. When I go to activate the product I get the flash…
TlfT
  • 35
  • 3
1
vote
2 answers

Using BlueCloth how can I turn off markdown for part of the text?

We're using Bluecloth for the text formatting on a rails website but I've run into a problem with some email addresses. When they have double underscores in the address BlueCloth is translating it into EM tags. In the rails…
Paul Raupach
  • 606
  • 5
  • 9
1
vote
0 answers

BlueCloth Markdown support for spoilers

Is there support for spoilers in BlueCloth for Ruby on Rails? It seems to exist in most markdown implementations like this: you type >! This is a spoiler and you get: This is a spoiler This doesn't seem to work in BlueCloth.
vette982
  • 4,782
  • 8
  • 34
  • 41
0
votes
1 answer

BlueCloth 2 and unicode

The following Haml causes to a Encoding::UndefinedConversionError when the latest BlueCloth (2.0.11) is used for markdown processing under Ruby 1.9.2: :markdown résumé Apparently, the humble é character is enough to make BlueCloth throw a fit! Is…
Trevor Burnham
  • 76,828
  • 33
  • 160
  • 196
0
votes
1 answer

Ruby on Rails website errors after VPS upgrade

Our VPS was just upgraded from Debian Squeeze and php 5.2 to Ubuntu and php 5.5, our website (coded in Ruby) is now down with all sorts of fun errors: our URL: http://grfxpstore.com/ Here's a link to what has changed:…
Pete
  • 1
0
votes
1 answer

Haml Markdown Filter Breaking on Example Ruby Code in Rails

I'm using Haml in rails and have been writting with the :markdown filter (bluecloth gem), but a piece of example code is in ruby and the page tries to execute the #{values}, how can I stop this? Here is the breaking bit of code: :markdown …
the-undefined
  • 753
  • 1
  • 6
  • 18
0
votes
2 answers

ruby - Error with installing bluecloth-2.2.0 gem in Win 7 , ruby 1.9.3

Was following steps described in https://stackoverflow.com/a/13544086/3206440 for resolving error with bluecloth-2.2.0 gem installation in windows 7. Encountered an error in step 4 given in the above link - any ideas? Console output…
user3206440
  • 4,749
  • 15
  • 75
  • 132
0
votes
1 answer

Bluecloth: markdown to HTML results in lots of empty tags

For example, the following markdown: # Game Version Need For Speed Most Wanted v1.3 English version. Results in the following HTML:

Game Version

Need For Speed Most Wanted v1.3 English version.

This…
peteykun
  • 716
  • 9
  • 21
0
votes
2 answers

Ruby on Rails: BlueCloth gem cannot work in production when deployed to heroku

I'm trying to use the BlueCloth gem in order to parse some markdown for my rails app. I added it to my gem file: gem 'BlueCloth' In my .html.erb views I user the code <%= BlueCloth.new(post.content).to_html.html_safe %> To render the…
Paul Benigeri
  • 157
  • 2
  • 8
-2
votes
1 answer

RoR BlueCloth copy the html

Hello I am using for a rails (2.3.4) BlueCloth (2.0.11) an want type my text in die text box and after that I want to copy the html preview, which is provided by BlueCloth. Now: when ever I mark the html, BlueCloth unmark it. Can I FIX…
imalik8088
  • 1,501
  • 5
  • 21
  • 39
1
2