From a48546634dad815f5eef583f34b7c851da0beda5 Mon Sep 17 00:00:00 2001 From: Omer Zach Date: Tue, 21 Mar 2017 14:21:21 -0700 Subject: [PATCH] Improve title in void-dom-elements-no-children.md Add the name of the rule in parentheses at the end of Markdown title like in other documentation files. --- docs/rules/void-dom-elements-no-children.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/void-dom-elements-no-children.md b/docs/rules/void-dom-elements-no-children.md index 9bbdda7f90..81c1e861ec 100644 --- a/docs/rules/void-dom-elements-no-children.md +++ b/docs/rules/void-dom-elements-no-children.md @@ -1,4 +1,4 @@ -# Prevent void DOM elements (e.g. ``, `
`) from receiving children +# Prevent void DOM elements (e.g. ``, `
`) from receiving children (react/void-dom-elements-no-children) There are some HTML elements that are only self-closing (e.g. `img`, `br`, `hr`). These are collectively known as void DOM elements. If you try to give these children, React will give you a warning like: