Fixing FormAction API documentation

The API documentation for FormAction is currently broken:
http://api.silverstripe.org/3/FormAction.html

This is because there are unescaped tags in the class description.

This fix changes the tag in the description to be escaped.
This commit is contained in:
3Dgoo 2018-03-14 11:27:15 +10:30 committed by GitHub
parent cf35aadfe5
commit 97f22cbaa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
<?php
/**
* The action buttons are <input type="submit"> as well as <button> tags.
* The action buttons are &lt;input type="submit"&gt; as well as &lt;button&gt; tags.
*
* Upon clicking the button below will redirect the user to doAction under the current controller.
*
@ -25,7 +25,7 @@ class FormAction extends FormField {
protected $action;
/**
* Enables the use of <button> instead of <input>
* Enables the use of &lt;button&gt; instead of &lt;input&gt;
* in {@link Field()} - for more customizeable styling.
*
* @var boolean
@ -154,7 +154,7 @@ class FormAction extends FormField {
}
/**
* Enable or disable the rendering of this action as a <button />
* Enable or disable the rendering of this action as a &lt;button /&gt;
*
* @param boolean
* @return $this
@ -165,7 +165,7 @@ class FormAction extends FormField {
}
/**
* Determine if this action is rendered as a <button />
* Determine if this action is rendered as a &lt;button /&gt;
*
* @return boolean
*/