quoting fixes

- allow bbcode quotes to be nested
- don't allow the '=' to be omitted from quotes
- fix some css that made assumptions about nested quotes
This commit is contained in:
Ben Lubar
2014-05-27 21:46:31 -05:00
parent f6753d3d46
commit 73946e5402
5 changed files with 64 additions and 29 deletions
@@ -105,6 +105,7 @@ replaceBBCodeParams("size", function(param, contents) {
Discourse.Dialect.replaceBlock({
start: /(\[code\])([\s\S]*)/igm,
stop: '[/code]',
rawContents: true,
emitter: function(blockContents) {
return ['p', ['pre'].concat(blockContents.join("\n"))];