Skip to content

Commit e865bf2

Browse files
committed
Merge pull request #22 from boomzillawtf/only-by-itself
Only by itself
2 parents 4671d3b + 1a252a5 commit e865bf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var iframely = {
2121
cache: LRU({
2222
maxAge: 1000*60*60*24 // one day
2323
}),
24-
htmlRegex: /<a.+?href="(.+?)".*?>(.*?)<\/a>/g
24+
htmlRegex: /(?:<p>|^)<a.+?href="(.+?)".*?>(.*?)<\/a>(?:<br\/?>|<\/p>)/gm
2525
};
2626
var app;
2727

0 commit comments

Comments
 (0)