Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 7240632

Browse files
Hardik Gajjarmeker12
Hardik Gajjar
authored andcommitted
Update xml-instructions.md to remove unnecessary html tag (#3860)
* Update xml-instructions.md to remove unnecessary html tag * Remove another unnecessary HTML tag * Fix misleading tag from "remove" attribute * Update xml-instructions.md to remove unnecessary HTML tag and fix misleading tag from "remove" attribute for v2.1 guide
1 parent 01068e7 commit 7240632

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

guides/v2.1/frontend-dev-guide/layouts/xml-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ The `<action>` instruction is deprecated. If the method implementation allows, u
256256

257257
Calls public methods on the block API.
258258

259-
**Details:** Used to set up the execution of a certain method of the block during block generation; the `<action>` node must be located in the scope of the `<block>` node.</p>
259+
**Details:** Used to set up the execution of a certain method of the block during block generation; the `<action>` node must be located in the scope of the `<block>` node.
260260

261261
Example:
262262

@@ -388,7 +388,7 @@ Sets the declared block or container element as a child of another element in th
388388
### remove {#fedg_layout_xml-instruc_ex_rmv}
389389

390390
`<remove>` is used only to remove the static resources linked in a page `<head>` section.
391-
For removing blocks or containers, use the `<remove>` attribute for [<referenceBlock>` and `<referenceContainer>`](#fedg_layout_xml-instruc_ex_ref).
391+
For removing blocks or containers, use the `remove` attribute for [<referenceBlock>` and `<referenceContainer>`](#fedg_layout_xml-instruc_ex_ref).
392392

393393
Example of usage:
394394

guides/v2.2/frontend-dev-guide/layouts/xml-instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ We recommend always adding a `name` to blocks. Otherwise, it is given a random n
5252
|:------- |:------ |:------ |:------ |
5353
| `class` | Name of a class that implements rendering of a particular block. An object of this class is responsible for actual rendering of block output. | class name | no |
5454
|`name` | Name that can be used to address the block to which this attribute is assigned. The name must be unique per generated page. If not specified, an automatic name will be assigned in the format <code>ANONYMOUS_<em>n</em></code> | 0-9, A-Z, a-z, underscore (_), period (.), dash (-). Should start with a letter. Case-sensitive. | no |
55-
| `before` | Used to position the block</p> before an element under the same parent. The element name or alias name is specified in the value. Use dash (-) to position the block before all other elements of its level of nesting. See [before and after attributes](#fedg_xml-instrux_before-after) for details. | Possible values: element name or dash (-) | no |
55+
| `before` | Used to position the block before an element under the same parent. The element name or alias name is specified in the value. Use dash (-) to position the block before all other elements of its level of nesting. See [before and after attributes](#fedg_xml-instrux_before-after) for details. | Possible values: element name or dash (-) | no |
5656
| `after` | Used to position the block after an element under the same parent. The element name or alias name is specified in the value. Use dash (-) to position the block after all other elements of its level of nesting. See [before and after attributes](#fedg_xml-instrux_before-after) for details. | Possible values: element name or dash (-) | no |
5757
| `template` | A template that represents the functionality of the block to which this attribute is assigned. | template file name | no |
5858
| `as` | An alias name that serves as identifier in the scope of the parent element. | 0-9, A-Z, a-z, underscore (_), period (.), dash (-). Case-sensitive. | no |
@@ -126,7 +126,7 @@ The `<action>` instruction is deprecated. If the method implementation allows, u
126126

127127
Calls public methods on the block API.
128128

129-
**Details:** Used to set up the execution of a certain method of the block during block generation; the `<action>` node must be located in the scope of the `<block>` node.</p>
129+
**Details:** Used to set up the execution of a certain method of the block during block generation; the `<action>` node must be located in the scope of the `<block>` node.
130130

131131

132132
Example:
@@ -206,7 +206,7 @@ Sets the declared block or container element as a child of another element in th
206206
### remove {#fedg_layout_xml-instruc_ex_rmv}
207207

208208
`<remove>` is used only to remove the static resources linked in a page `<head>` section.
209-
For removing blocks or containers, use the `<remove>` attribute for [`<referenceBlock>` and `<referenceContainer>`](#fedg_layout_xml-instruc_ex_ref).
209+
For removing blocks or containers, use the `remove` attribute for [`<referenceBlock>` and `<referenceContainer>`](#fedg_layout_xml-instruc_ex_ref).
210210

211211
Example of usage:
212212

0 commit comments

Comments
 (0)