Skip to content

Commit

Permalink
version 1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-nyt committed Jul 25, 2020
1 parent 039b8d7 commit 6822f49
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "novelscraper",
"version": "1.0.6",
"version": "1.0.7",
"description": "Educational app on how to web scrape novels from pirate sites.",
"homepage": "https://github.com/dr-nyt/NovelScraper",
"author": {
Expand Down
2 changes: 2 additions & 0 deletions src/app/boxnovel.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ export class BoxnovelService {

let chapterBody = "<h3>" + chapterTitle + "</h3>";
chapterBody += chapterHtml.outerHTML;
chapterBody = chapterBody.replace(/<br>/g, "<br/>");
console.log(chapterBody);
chapterBody += "<br/><br/>"
chapterBody += "<p>dr-nyt's NovelScraper scraped this novel from a pirate site.</p>"
chapterBody += "<p>If you can, please support the author(s) of this novel: " + novel.info.author + "</p>"
Expand Down
2 changes: 2 additions & 0 deletions src/app/readlightnovel.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ export class ReadlightnovelService {

let chapterBody = "<h3>" + chapterTitle + "</h3>";
chapterBody += chapterHtml.outerHTML;
chapterBody = chapterBody.replace(/<br>/g, "<br/>");
console.log(chapterBody);
chapterBody += "<br/><br/>"
chapterBody += "<p>dr-nyt's NovelScraper scraped this novel from a pirate site.</p>"
chapterBody += "<p>If you can, please support the author(s) of this novel: " + novel.info.author + "</p>"
Expand Down

0 comments on commit 6822f49

Please sign in to comment.