lift / framework

Lift Framework
http://liftweb.net
Apache License 2.0
1.27k stars 279 forks source link

TextileParser issues #44

Closed fbettag closed 15 years ago

fbettag commented 15 years ago

1# * and _. Look at the following:

scala> import net.liftweb.textile. import net.liftweb.textile.

scala> TextileParser.toHtml("foo bar") res7: scala.xml.NodeSeq =

foo __bar__

scala> TextileParser.toHtml("bar") res8: scala.xml.NodeSeq =

bar

scala> TextileParser.toHtml("bar foo") res9: scala.xml.NodeSeq =

bar *foo*

Something clearly isn't working with __ and \ ;)

2 links with classes

scala> TextileParser.toHtml(""" "(cmsadmin-link)click here":# """) res10: scala.xml.NodeSeq =

(cmsadmin-link)click here

Usually this should work too.

dpp commented 15 years ago

I've fixed issued #1

I don't understand what "this should work too" means. What is the expected output.

fbettag commented 15 years ago

It should produce a link which has the class cmsadmin-link.

thanks for the quick fix!

dpp commented 15 years ago

I need to see exactly what HTML you expect to be output... and it would help if you could point to a reference. When I enter the example that you gave into , http://textism.com/tools/textile/index.php I get:

”(cmsadmin-link)click here”:#

fbettag commented 15 years ago

"(cmsadmin-link)click here":/foo

transforms to:

click here

Done with RedCloth (ruby textile). Syntactically it's just the logical conclusion of the textile specs.

dpp commented 15 years ago

I've updated Lift to support this construct

fbettag commented 15 years ago

great! thank you!

github-importer commented 14 years ago

Imported from GitHub: http://github.com/dpp/liftweb/issues/44/find

github-importer commented 12 years ago

Imported from Assembla: http://www.assembla.com/spaces/liftweb/tickets/44