Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Commit d59dd56

Browse files
author
lepon01
committed
add uppercase p
1 parent b1b8473 commit d59dd56

File tree

1 file changed

+2
-2
lines changed
  • src/components/BotPageContentBox

1 file changed

+2
-2
lines changed

src/components/BotPageContentBox/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { FormattedMessage } from 'react-intl';
88
import Modesta from '../../data/Modesta';
99
import elementsStyle from '../../scss/elements.module.scss';
1010

11-
const botpageWhitelist = {
11+
const botPageWhitelist = {
1212
p: [],
1313
span: [],
1414
code: [],
@@ -107,7 +107,7 @@ class BotPageContentBox extends Component {
107107

108108
render() {
109109
const page = xss(marked(this.props.page), {
110-
whiteList: this.props.allowHTML ? null : botpageWhitelist,
110+
whiteList: this.props.allowHTML ? null : botPageWhitelist,
111111
onIgnoreTag: (tag, html, options) => {
112112
let extraNotes = '';
113113

0 commit comments

Comments
 (0)