Skip to content

Commit

Permalink
Only add newlines to BRs that are not at the ends of lines already
Browse files Browse the repository at this point in the history
  • Loading branch information
iarna committed Jul 10, 2012
1 parent 3bf72aa commit f2dbd8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cron_fetch.sh
Expand Up @@ -4,7 +4,7 @@ source ~/.profile
fetch_story --toc http://www.fanfiction.net/s/5782108/1/Harry_Potter_and_the_Methods_of_Rationality
perl -pi -e's{<br/>P:.*? U:.*?</p>$}{}g' *
perl -pi -e's{(</p>)(<p>)}{$1\n$2}g' *
perl -pi -e's{(<br/>)}{$1\n}g' *
perl -pi -e's{(<br/>\s*[^\n])}{$1\n}g' *
git add -A
git commit -m "$(date)"
git push origin master
Expand Down

0 comments on commit f2dbd8d

Please sign in to comment.