Skip to content

Commit 7640add

Browse files
authored
Merge pull request #967 from ExpressionEngine/7.dev
Pushing dev live ALSO fixing embed issues
2 parents 235c1ec + 1f3e07f commit 7640add

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/config/config-files.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In addition to `config.php` ExpressionEngine has a number of other configuration
1313

1414
As a general rule, the values provided in those config files (located in `system/ee/ExpressionEngine/Config` folder) are good for most sites, however there might be cases where certain setup would need to override some of the values.
1515

16-
In order to do that, simply copy the corresponding file to `system/user/config` folder and change or add the values that are needed. There is no need to keep the full copy of config file, just keep the properties that need to be changed and remove the ones that you are fine with - the default values will be used for those.
16+
In order to do that, simply copy the corresponding file to `system/user/config` folder and change or add the values that are needed.
1717

1818
[TOC=4]
1919

@@ -33,15 +33,15 @@ This file contains an array of foreign characters for transliteration conversion
3333

3434
`valid_form_attributes.php`
3535

36-
A list of HTML attributes that are allowed to be passed via EE template tag parameters to the `form` tag when creating forms with `ee()->functions->form_declaration()`. Additionally, attributes prefixed with `data-` and `aria-` can be used.
36+
A list of HTML attributes that are allowed to be passed via EE template tag parameters to the `form` tag when creating forms with `ee()->functions->form_declaration()`. Additionally, attributes prefixed with `data-` and `aria-` can be used without being specified in the config settings.
3737

3838
#### Allowed Mime Types
3939

4040
`mimes.php`
4141

42-
These are the mime types that are allowed to be uploaded using the upload class. For security reasons the list is kept as small as possible. If you need to upload types that are not in the list you can add them.
42+
This file sets the mime types that are allowed to be uploaded using the upload class. For security reasons the list is kept as small as possible. The mimes.php file in your user/config folder will override the system mimes.php entirely. If you need to upload mime types that are not in the list you can add them. If you want to disallow a mime type that is allowed by default, you can remove it from your version of the mimes.php file.
4343

44-
The mime types are grouped by file type. You can add the allowed mime types directly or you can add new file types containing multiple mimes.
44+
The mime types are grouped by file type. These file types make up the 'Allowed File Types' options in the [upload directory](control-panel/file-manager/upload-directories.md#allowed-file-types) settings. You can add new mimes to an existing file type or create a new file type and add to that. Your new file type will be included as an option in the file upload preferrence file types.
4545

4646
#### Reverse Proxy IP addresses
4747

scripts/embed-render.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ renderer.table = function(header, body) {
180180

181181
module.exports = function (text, info) {
182182
currentPageInfo = info
183-
let renderedContent = MarkedJs(text, { renderer: renderer })
183+
let renderedContent = MarkedJs.parse(text, { renderer: renderer })
184184

185185
return renderedContent
186186
}

0 commit comments

Comments
 (0)