Skip to content

Commit

Permalink
Images fix (#35)
Browse files Browse the repository at this point in the history
* adds package-lock.json

* adds a slash to exclude https images

* oh yeah, probably should sub back in that slash

* removes unnec esc
  • Loading branch information
Steve Barman authored and sixlive committed Jan 10, 2018
1 parent 7944a26 commit dccd5af
Show file tree
Hide file tree
Showing 2 changed files with 6,392 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/meetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import moment from 'moment'

const formattedTime = time => moment(time).format('MMMM Do YYYY @ h:mm a')
const formatContent = content => ({
__html: content.replace(/src="http/gi, 'src="https')
__html: content.replace(/src="http\//gi, 'src="https/')
})

const Meetup = (props) => (
Expand Down
Loading

0 comments on commit dccd5af

Please sign in to comment.