2

i am working on a project...with many database content in BBCode (Forum posts...etc).

is there a bundle or solution to present that "out of the box" without me having to invent wheel in Symfony?

Confidence
  • 2,283
  • 3
  • 33
  • 57
  • 1
    Do you mean something like this? https://github.com/helios-ag/FMBbCodeBundle – hakre Jan 05 '12 at 22:46
  • awesome...but also how do i represent stuff coming from DB like a comments field with content `[b]hey, your reply is awesome[/b]` as html `Hey, your comment is awesome`...i am not sure this bundle does this already? – Confidence Jan 05 '12 at 22:59
  • my applogies...the documentation says it well '{{'[b]Bold text[/b]'|BBCode}}
    ' ....so it works fine :) thanks for the hint.
    – Confidence Jan 05 '12 at 23:03
  • I added it as an answer. – hakre Jan 06 '12 at 00:05

1 Answers1

2

Do you mean something like this?

FMBbCodeBundle

PHP-Decoda integration in Symfony2

A lightweight lexical string parser for BBCode styled markup.

Community
  • 1
  • 1
hakre
  • 193,403
  • 52
  • 435
  • 836
  • thanks for your hint. But the bundle lacks many things in documentation, and the implementation caused me many errors. – Confidence Jan 06 '12 at 15:58
  • true :) i posted an issue maybe we get further here https://github.com/helios-ag/FMBbCodeBundle/issues/1 – Confidence Jan 06 '12 at 18:04