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

Commit

Permalink
add uppercase p
Browse files Browse the repository at this point in the history
  • Loading branch information
lepon01 committed Apr 17, 2019
1 parent b1b8473 commit d59dd56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/BotPageContentBox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { FormattedMessage } from 'react-intl';
import Modesta from '../../data/Modesta';
import elementsStyle from '../../scss/elements.module.scss';

const botpageWhitelist = {
const botPageWhitelist = {
p: [],
span: [],
code: [],
Expand Down Expand Up @@ -107,7 +107,7 @@ class BotPageContentBox extends Component {

render() {
const page = xss(marked(this.props.page), {
whiteList: this.props.allowHTML ? null : botpageWhitelist,
whiteList: this.props.allowHTML ? null : botPageWhitelist,
onIgnoreTag: (tag, html, options) => {
let extraNotes = '';

Expand Down

0 comments on commit d59dd56

Please sign in to comment.