diff --git a/doc/reference/component.md b/doc/reference/component.md index 63e1b32d..b4055f23 100644 --- a/doc/reference/component.md +++ b/doc/reference/component.md @@ -946,7 +946,7 @@ For example, here is how we could implement an `ErrorBoundary` component: Error handled - + diff --git a/doc/reference/context.md b/doc/reference/context.md index 927db380..1b6b5dc5 100644 --- a/doc/reference/context.md +++ b/doc/reference/context.md @@ -57,7 +57,7 @@ class SomeComponent extends Component { some simplified user interface - + a more advanced user interface `; diff --git a/doc/reference/qweb_templating_language.md b/doc/reference/qweb_templating_language.md index e2123741..63b7f8f7 100644 --- a/doc/reference/qweb_templating_language.md +++ b/doc/reference/qweb_templating_language.md @@ -28,7 +28,7 @@ generate a virtual dom representation of the HTML. ```xml
Some string -
    +
    • @@ -101,7 +101,7 @@ precisely, the result of a template rendering should have a single root node:
      foo
      - bar + bar
      ``` diff --git a/tests/component/component.test.ts b/tests/component/component.test.ts index dbcd6c1a..66c8423f 100644 --- a/tests/component/component.test.ts +++ b/tests/component/component.test.ts @@ -618,7 +618,7 @@ describe("lifecycle hooks", () => { - +
      ` @@ -1399,7 +1399,7 @@ describe("composition", () => { static template = xml`

      hey

      -

      noo

      +

      noo

      test
      `; @@ -2425,7 +2425,7 @@ describe("other directives with t-component", () => { `
      somediv
      - +
      ` ); class Child extends Widget {} @@ -4414,7 +4414,7 @@ describe("t-slot directive", () => { env.qweb.addTemplates(`
      - abc + abc
      @@ -4892,7 +4892,7 @@ describe("t-model directive", () => { yes - no + no
`); @@ -5171,7 +5171,7 @@ describe("environment and plugins", () => { static template = xml`
Red - Blue + Blue
`; } @@ -5234,7 +5234,7 @@ describe("component error handling (catchError)", () => { static template = xml`
Error handled - +
`; state = useState({ error: false }); @@ -5310,7 +5310,7 @@ describe("component error handling (catchError)", () => { static template = xml`
Error handled - +
`; state = useState({ error: false }); @@ -5346,7 +5346,7 @@ describe("component error handling (catchError)", () => { static template = xml`
Error handled - +
`; state = useState({ error: false }); @@ -5382,7 +5382,7 @@ describe("component error handling (catchError)", () => {
Error handled - +
Some text
@@ -5429,7 +5429,7 @@ describe("component error handling (catchError)", () => { static template = xml`
Error handled - +
`; state = useState({ error: false }); @@ -5456,7 +5456,7 @@ describe("component error handling (catchError)", () => {
Error handled - +
Some text
@@ -5500,7 +5500,7 @@ describe("component error handling (catchError)", () => { static template = xml`
Error handled - +
`; state = useState({ error: false }); diff --git a/tests/qweb/qweb.test.ts b/tests/qweb/qweb.test.ts index e950c403..6475bbbf 100644 --- a/tests/qweb/qweb.test.ts +++ b/tests/qweb/qweb.test.ts @@ -426,7 +426,7 @@ describe("t-if", () => { }); test("t-esc with t-elif", () => { - qweb.addTemplate("test", `
abc
`); + qweb.addTemplate("test", `
abc
`); expect(renderToString(qweb, "test")).toBe("
x
"); }); @@ -1644,7 +1644,7 @@ describe("debugging", () => { console.log = jest.fn(); qweb.addTemplate( "test", - `
hey
` + `
hey
` ); qweb.render("test"); expect(qweb.templates.test.fn.toString()).toMatchSnapshot(); @@ -1658,7 +1658,7 @@ describe("debugging", () => { console.log = jest.fn(); qweb.addTemplates(` -

coucou

+

coucou

diff --git a/tools/playground/samples.js b/tools/playground/samples.js index d02526d6..d01834ad 100644 --- a/tools/playground/samples.js +++ b/tools/playground/samples.js @@ -1101,7 +1101,7 @@ const RESPONSIVE_XML = `
- + @@ -1438,7 +1438,7 @@ const FORM_XML = `
Text:
Other Text:
Number:
-
Boolean: TrueFalse
+
Boolean: TrueFalse
Color: