textile and maruku problem

别来无恙 提交于 2019-12-24 07:38:03

问题


I've developed custom filters for HAML (http://github.com/alec-c4/cb-haml-filters) and have a small problem with textile and maruku. Maybe you can help me with this

  1. Problem with textile with code

      %h2 Textile test
      :cbtextile
        h4. YouTube video
         http://www.youtube.com/watch?v=0_IXrjqKbE4&feature=player_embedded
    

after parsing i see embeded youtube video inside h4 tag (there are 1 empty line between h4. and http://youtube... i mean \n\n). But on TWO empty lines (\n\n\n) - all renders correctly. In markdown - all html renders fine.

  1. Maruku. all is ok, but scribd filter causes error

    REXML could not parse this XML/HTML:

来源:https://stackoverflow.com/questions/1973717/textile-and-maruku-problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!