Skip to content

Commit

Permalink
fix reference to multiline paste parser
Browse files Browse the repository at this point in the history
  • Loading branch information
devrieda committed Nov 21, 2015
1 parent 91f79fd commit 1453226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/helpers/Parsers/BaseParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import MultiLineTextParser from './MultiLineTextParser';
import HtmlParser from './HtmlParser';

const parsers = [
SingleLineTextParser, SingleLineTextParser, HtmlParser
SingleLineTextParser, MultiLineTextParser, HtmlParser
];
const BaseParser = {
parse(pasted, callback) {
Expand Down
2 changes: 1 addition & 1 deletion modules/helpers/Parsers/MultiLineTextParser.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Guid from '../Guid';

const MultiLineTextParser = {
matches(pasted) {
matches(text) {
return text.toLowerCase().indexOf("<meta") === -1 &&
text.indexOf("\n") !== -1;
},
Expand Down

0 comments on commit 1453226

Please sign in to comment.