Skip to content

Commit 0799cd9

Browse files
committed
fix anchor html for html_replace
Signed-off-by: Kev Provance <kevin.provance@gmail.com>
1 parent 18c6f74 commit 0799cd9

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

docs/configuration/fields/validate.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -95,23 +95,23 @@ attached to the field by specifying `warning` or `error` in the return array.
9595

9696
## Built-in Validations
9797

98-
|<div style="width:160px;">Key</div>|Description|
99-
|--|--|
100-
|`color`|Valid HTML hex color. Works with [color_rgba](../../core-fields/color-rgba.md) field (opacity)|
101-
|`comma_numeric`|Value is numeric separated by commas|
102-
|`css`|CSS|
103-
|`date`|Date|
104-
|`email`|Valid Email|
105-
|`html_custom`|HTML validation - See [html_custom example](validate.md#html_custom-example) |
106-
|`js`|JavaScript|
107-
|`no_html`|No HTML is permitted|
108-
|`no_special_chars`|Alpha Numeric, excluding special characters|
109-
|`not_empty`|If the value is empty|
110-
|`numeric`|Value is numeric|
111-
|`preg_replace`|Perform a replacement on the contents based on a regex pattern. You can test your regex patterns on a website like [phprex](https://phphub.net/regex/). See [preg_replace Example](validate.md#preg-replace-example)|
112-
|`str_replace`|Return a string after running through a `str_replace`. See [str_replace Example](validate.md#str-replace-example)|
113-
|`unique_slug`|To generate a unique slug - optional `'flush_permalinks' => true` argument can be added to force a flush permalinks on successful save|
114-
|`url`|Valid URL|
98+
|<div style="width:160px;">Key</div>| Description |
99+
|--|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
100+
|`color`| Valid HTML hex color. Works with [color_rgba](../../core-fields/color-rgba.md) field (opacity) |
101+
|`comma_numeric`| Value is numeric separated by commas |
102+
|`css`| CSS |
103+
|`date`| Date |
104+
|`email`| Valid Email |
105+
|`html_custom`| HTML validation - See [html_custom example](validate.md#html-custom-example) |
106+
|`js`| JavaScript |
107+
|`no_html`| No HTML is permitted |
108+
|`no_special_chars`| Alpha Numeric, excluding special characters |
109+
|`not_empty`| If the value is empty |
110+
|`numeric`| Value is numeric |
111+
|`preg_replace`| Perform a replacement on the contents based on a regex pattern. You can test your regex patterns on a website like [phprex](https://phphub.net/regex/). See [preg_replace Example](validate.md#preg-replace-example) |
112+
|`str_replace`| Return a string after running through a `str_replace`. See [str_replace Example](validate.md#str-replace-example) |
113+
|`unique_slug`| To generate a unique slug - optional `'flush_permalinks' => true` argument can be added to force a flush permalinks on successful save |
114+
|`url`| Valid URL |
115115

116116

117117
### `preg_replace` Example

0 commit comments

Comments
 (0)