diff --git a/src/Templates/default/html/code.html.twig b/src/Templates/default/html/code.html.twig index ae21e77..7a1f9ba 100644 --- a/src/Templates/default/html/code.html.twig +++ b/src/Templates/default/html/code.html.twig @@ -1,4 +1,4 @@ -
+
diff --git a/src/Templates/default/html/literal.html.twig b/src/Templates/default/html/literal.html.twig index 2cb3c79..0f6328c 100644 --- a/src/Templates/default/html/literal.html.twig +++ b/src/Templates/default/html/literal.html.twig @@ -1 +1 @@ -{{ text|raw }} +{{ text|raw }} diff --git a/tests/fixtures/expected/blocks/code-blocks/bash.html b/tests/fixtures/expected/blocks/code-blocks/bash.html index f8f1502..f1aaa7c 100644 --- a/tests/fixtures/expected/blocks/code-blocks/bash.html +++ b/tests/fixtures/expected/blocks/code-blocks/bash.html @@ -4,7 +4,7 @@ -
+
diff --git a/tests/fixtures/expected/blocks/code-blocks/html-php.html b/tests/fixtures/expected/blocks/code-blocks/html-php.html index ab58c7e..d4ebdc2 100644 --- a/tests/fixtures/expected/blocks/code-blocks/html-php.html +++ b/tests/fixtures/expected/blocks/code-blocks/html-php.html @@ -4,7 +4,7 @@ -
+
diff --git a/tests/fixtures/expected/blocks/code-blocks/html-twig.html b/tests/fixtures/expected/blocks/code-blocks/html-twig.html index a720556..9d7ed91 100644 --- a/tests/fixtures/expected/blocks/code-blocks/html-twig.html +++ b/tests/fixtures/expected/blocks/code-blocks/html-twig.html @@ -4,7 +4,7 @@ -
+
diff --git a/tests/fixtures/expected/blocks/code-blocks/html.html b/tests/fixtures/expected/blocks/code-blocks/html.html index 9737d71..d3bd004 100644 --- a/tests/fixtures/expected/blocks/code-blocks/html.html +++ b/tests/fixtures/expected/blocks/code-blocks/html.html @@ -4,7 +4,7 @@ -
+
diff --git a/tests/fixtures/expected/blocks/code-blocks/ini.html b/tests/fixtures/expected/blocks/code-blocks/ini.html index 04b41af..127d00b 100644 --- a/tests/fixtures/expected/blocks/code-blocks/ini.html +++ b/tests/fixtures/expected/blocks/code-blocks/ini.html @@ -4,7 +4,7 @@ -
+
diff --git a/tests/fixtures/expected/blocks/code-blocks/php-annotations.html b/tests/fixtures/expected/blocks/code-blocks/php-annotations.html index 1c2fd00..214408a 100644 --- a/tests/fixtures/expected/blocks/code-blocks/php-annotations.html +++ b/tests/fixtures/expected/blocks/code-blocks/php-annotations.html @@ -4,7 +4,7 @@ -
+
diff --git a/tests/fixtures/expected/blocks/code-blocks/php.html b/tests/fixtures/expected/blocks/code-blocks/php.html index dfe0e48..e436e58 100644 --- a/tests/fixtures/expected/blocks/code-blocks/php.html +++ b/tests/fixtures/expected/blocks/code-blocks/php.html @@ -4,7 +4,7 @@ -
+
diff --git a/tests/fixtures/expected/blocks/code-blocks/terminal.html b/tests/fixtures/expected/blocks/code-blocks/terminal.html index fa58ef3..4ebc77b 100644 --- a/tests/fixtures/expected/blocks/code-blocks/terminal.html +++ b/tests/fixtures/expected/blocks/code-blocks/terminal.html @@ -4,7 +4,7 @@ -
+
diff --git a/tests/fixtures/expected/blocks/code-blocks/text.html b/tests/fixtures/expected/blocks/code-blocks/text.html index f4d22f9..63b9988 100644 --- a/tests/fixtures/expected/blocks/code-blocks/text.html +++ b/tests/fixtures/expected/blocks/code-blocks/text.html @@ -4,7 +4,7 @@ -
+
diff --git a/tests/fixtures/expected/blocks/code-blocks/twig.html b/tests/fixtures/expected/blocks/code-blocks/twig.html index 813e4de..cc0ec14 100644 --- a/tests/fixtures/expected/blocks/code-blocks/twig.html +++ b/tests/fixtures/expected/blocks/code-blocks/twig.html @@ -4,7 +4,7 @@ -
+
diff --git a/tests/fixtures/expected/blocks/code-blocks/xml.html b/tests/fixtures/expected/blocks/code-blocks/xml.html index 0108df8..5ba803e 100644 --- a/tests/fixtures/expected/blocks/code-blocks/xml.html +++ b/tests/fixtures/expected/blocks/code-blocks/xml.html @@ -4,7 +4,7 @@ -
+
diff --git a/tests/fixtures/expected/blocks/code-blocks/yaml.html b/tests/fixtures/expected/blocks/code-blocks/yaml.html index 4306efe..68e841a 100644 --- a/tests/fixtures/expected/blocks/code-blocks/yaml.html +++ b/tests/fixtures/expected/blocks/code-blocks/yaml.html @@ -4,7 +4,7 @@ -
+
diff --git a/tests/fixtures/expected/blocks/directives/configuration-block.html b/tests/fixtures/expected/blocks/directives/configuration-block.html index 0d5bf67..9c740b8 100644 --- a/tests/fixtures/expected/blocks/directives/configuration-block.html +++ b/tests/fixtures/expected/blocks/directives/configuration-block.html @@ -4,7 +4,7 @@ -
  • YAML
    +
    • YAML
@@ -21,7 +21,7 @@
-
  • PHP
    +
  • PHP
    diff --git a/tests/fixtures/expected/blocks/directives/note-code-block-nested.html b/tests/fixtures/expected/blocks/directives/note-code-block-nested.html index d579bef..ae061ca 100644 --- a/tests/fixtures/expected/blocks/directives/note-code-block-nested.html +++ b/tests/fixtures/expected/blocks/directives/note-code-block-nested.html @@ -12,7 +12,7 @@ Note

    test

    -
    +
    diff --git a/tests/fixtures/expected/blocks/directives/sidebar-code-block-nested.html b/tests/fixtures/expected/blocks/directives/sidebar-code-block-nested.html index c6cc470..09b7b10 100644 --- a/tests/fixtures/expected/blocks/directives/sidebar-code-block-nested.html +++ b/tests/fixtures/expected/blocks/directives/sidebar-code-block-nested.html @@ -8,7 +8,7 @@

    some text before code block

    -
    +
    diff --git a/tests/fixtures/expected/blocks/nodes/literal.html b/tests/fixtures/expected/blocks/nodes/literal.html index d8abde9..11a560c 100644 --- a/tests/fixtures/expected/blocks/nodes/literal.html +++ b/tests/fixtures/expected/blocks/nodes/literal.html @@ -5,7 +5,7 @@

    here is some php code from literal:

    -
    +
    diff --git a/tests/fixtures/expected/main/datetime.html b/tests/fixtures/expected/main/datetime.html index 750771a..31c160b 100644 --- a/tests/fixtures/expected/main/datetime.html +++ b/tests/fixtures/expected/main/datetime.html @@ -9,12 +9,12 @@

    DateTimeType Field

    This field type allows the user to modify data that represents a specific -date and time (e.g. 1984-06-05 12:15:30).

    +date and time (e.g. 1984-06-05 12:15:30).

    - + @@ -63,8 +63,8 @@

    The date_format Option

    -

    type: integer or stringdefault: IntlDateFormatter::MEDIUM

    -

    Defines the format option that will be passed down to the date field. +

    type: integer or stringdefault: IntlDateFormatter::MEDIUM

    +

    Defines the format option that will be passed down to the date field. for more details.

    @@ -95,7 +95,7 @@

    Sometimes we add notes. But not too often because they interrupt the flow. FormType Documentation

    -

    This is included documentation about the date_widget option.

    +

    This is included documentation about the date_widget option.

    @@ -104,16 +104,16 @@

    New in version 2.6: -

    The placeholder option was introduced in Symfony 2.6 and replaces -empty_value, which is available prior to 2.6. +

    The placeholder option was introduced in Symfony 2.6 and replaces +empty_value, which is available prior to 2.6. FormType Documentation

    -

    type: string | array

    -

    If your widget option is set to choice, then this field will be represented -as a series of select boxes. When the placeholder value is a string, +

    type: string | array

    +

    If your widget option is set to choice, then this field will be represented +as a series of select boxes. When the placeholder value is a string, it will be used as the blank value of all select boxes:

    -
    +

    Underlying Data Typecan be DateTime, string, timestamp, or array (see the input option)can be DateTime, string, timestamp, or array (see the input option)
    Rendered as
    @@ -168,11 +168,11 @@

    Custom classes for links are also cool:

      -
    • excluded_ajax_paths
    • -
    • intercept_redirects
    • -
    • position
    • -
    • toolbar
    • -
    • verbose
    • +
    • excluded_ajax_paths
    • +
    • intercept_redirects
    • +
    • position
    • +
    • toolbar
    • +
    • verbose
    • FormType Documentation
    @@ -180,8 +180,8 @@

    format

    -

    type: stringdefault: Symfony\Component\Form\Extension\Core\Type\DateTimeType::HTML5_FORMAT

    -

    If the widget option is set to single_text, this option specifies +

    type: stringdefault: Symfony\Component\Form\Extension\Core\Type\DateTimeType::HTML5_FORMAT

    +

    If the widget option is set to single_text, this option specifies the format of the input, i.e. how Symfony will interpret the given input as a datetime string. See Date/Time Format Syntax.

    @@ -208,16 +208,16 @@

    time_widget

    -

    type: stringdefault: choice

    -

    Defines the widget option for the TimeType.

    +

    type: stringdefault: choice

    +

    Defines the widget option for the TimeType.

    widget

    -

    type: stringdefault: null

    -

    Defines the widget option for both the DateType. -and TimeType. This can be overridden +

    type: stringdefault: null

    +

    Defines the widget option for both the DateType. +and TimeType. This can be overridden with the date_widget and time_widget options.

    @@ -230,16 +230,16 @@

    by_reference

    -

    default: false

    -

    The DateTime classes are treated as immutable objects.

    +

    default: false

    +

    The DateTime classes are treated as immutable objects.

    error_bubbling

    -

    default: false

    +

    default: false

    We also support code blocks!

    -
    +
    @@ -267,7 +267,7 @@

    • YAML -
      +

    @@ -300,7 +300,7 @@

  • XML -
    +
  • @@ -383,7 +383,7 @@

  • PHP -
    +
  • @@ -446,12 +446,12 @@

    - - + + - +
    widgetmixedThe value of the widget optionmixedThe value of the widget option
    typestringstring Multiple lines of text here, to show that off