spree/spree — pull request #2874 by robertmassaioli (2013-04-11 09:41:59+00:00)
Title: Add preference to allow product_description to be rendered raw.

There was a [bug in the spree editor][1] whereby if the WYSIWYG editor that we used output something that met the regex that the current product description code was checking for that we would get some bad output. Read the issue for more details.

I thought that the correct way to solve this problem would be to add a Spree preference and then we could make use of it in the spree_editor code as [you can see in this branch here][2] which will soon be a pull request.

I would like to see this pull request merged into both master and 1-3-stable if at all possible. I made this change off 1-3-stable so I raised the PR against it.

I have also followed the "guidelines for contributing" and have written a single test case for this relatively small change.

Thankyou very much for you time in reviewing this pull request I really do appreciate it and Spree and am hoping to help by continuing to commit bug fixes and other changes that I find along the way. Please let me know if I have done it wrong and I'll fix it up.

[1]: https://github.com/spree/spree_editor/issues/39
[2]: https://github.com/robertmassaioli/spree_editor/tree/raw-product-description