Hg remove empty ps

This fixed the problem of <b> tags wrapping <p> tags and creating invalid HTML when pasting from Google Docs. 
This line is nested in the same function as the line above it, so the
indentation should be the same?

Oliver Joseph Ash
Software Engineer


On 1 July 2014 16:29, Hugo Gibson <notifications@github.com> wrote:

> In test/formatters.spec.js:
>
> > +       */
> > +    describe('remove invalid B tags wrapping block elements', function () {
> > +      beforeEach(function () {
> > +        return driver.executeAsyncScript(function (done) {
> > +          require(['../../bower_components/scribe-plugin-sanitizer/src/scribe-plugin-sanitizer'], function (scribePluginSanitizer) {
> > +            window.scribe.use(scribePluginSanitizer({
> > +              tags: { p: {}, b: {}  }}));
> > +            done();
> > +          });
> > +        });
> > +      });
> > +
> > +      when('content of "<b><p>1</p></b>" is inserted', function() {
> > +        beforeEach(function() {
> > +          scribeNode.click();
> > +            return driver.executeScript(function () {
>
> It's the same as above - two spaces?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/guardian/scribe/pull/212/files#r14410743>.
>

-- 

------------------------------
Visit theguardian.com. On your mobile and tablet, download the Guardian 
iPhone and Android apps theguardian.com/guardianapp and our tablet editions 
theguardian.com/editions.  Save up to 57% by subscribing to the Guardian 
and Observer - choose the papers you want and get full digital access. 
 Visit subscribe.theguardian.com

This e-mail and all attachments are confidential and may also be 
privileged. If you are not the named recipient, please notify the sender 
and delete the e-mail and all attachments immediately. Do not disclose the 
contents to another person. You may not use the information for any 
purpose, or store, or copy, it in any way.  Guardian News & Media Limited 
is not liable for any computer viruses or other material transmitted with 
or as part of this e-mail. You should employ virus checking software.
 
Guardian News & Media Limited is a member of Guardian Media Group plc. Registered 
Office: PO Box 68164, Kings Place, 90 York Way, London, N1P 2AP.  Registered 
in England Number 908396