Skip to content

Commit

Permalink
Minor formatting fixes (resolves #580)
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanH committed Aug 24, 2024
1 parent ab45d97 commit e4ffe2e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/components/Page/PageText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,9 @@ export default {
padding: initial;
display: inline !important;
}
// Fix semantic trailing whitespace (i.e. called </span><span>The Tumor) from being
// cut off in inline-block display mode.
white-space: break-spaces;
}
.authorlog {
Expand Down
20 changes: 16 additions & 4 deletions src/imods/_twoToThree/mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ module.exports = {
modVersion: 0.1,
trees: {
"./pxs/": "assets://archive/comics/pxs/",
"./archive/": "assets://archive/",
"./archive/": "assets://archive/"
},
routes: {
//replace flashes that don't mute when HQ audio is enabled
// replace flashes that don't mute when HQ audio is enabled
'assets://storyfiles/hs2/03085/03085_hq.swf': './swf/03085_hq.swf',
'assets://storyfiles/hs2/04082/04082_hq.swf': './swf/04082_hq.swf',

//replace hq flash mp3 for At The Price Of Oblivion
// replace hq flash mp3 for At The Price Of Oblivion
'assets://storyfiles/hs2/03693/03693.mp3': './mp3/03693.mp3',

//reroute improperly formatted links in 25-Nov-09 newspost
// reroute improperly formatted links in 25-Nov-09 newspost
'assets://newspost_images/scarecrowking1.gif': 'assets://archive/social/news/scarecrowking1.gif',
'assets://newspost_images/scarecrowking2.gif': 'assets://archive/social/news/scarecrowking2.gif',
},
Expand Down Expand Up @@ -48,6 +48,18 @@ module.exports = {
"art": []
})

// Hotfix some formatting headaches

archive.mspa.story['004153'].content = archive.mspa.story['004153'].content.replace(
`L</span><img src="http://www.mspaintadventures.com/storyfiles/hs2/scraps/o.gif" border="0" /><span style="color: #2ed73a">rd English</span>`,
`<span style="color: #2ed73a; white-space: nowrap">L<img src="assets://storyfiles/hs2/scraps/o.gif" border="0">rd English</span>`)

console.log(archive.mspa.story['004153'].content)

archive.mspa.story['005530'].content = archive.mspa.story['005530'].content.replace(
`L</span><img src="http://www.mspaintadventures.com/storyfiles/hs2/scraps/o.gif" border="0" /><span style="color: #2ed73a">rd English</span>`,
`<span style="color: #2ed73a; white-space: nowrap">L<img src="assets://storyfiles/hs2/scraps/o.gif" border="0">rd English</span>`)

archive.comics.pxs.comics['you-have-a-feeling-its-going-to-be-a-long-day'].credit = "Zach Morrison and Andrew Hussie"

archive.social.blogspot[8].html = archive.social.blogspot[8].html.replace('archive/tso/blurbs', 'archive/comics/tso/blurbs')
Expand Down

0 comments on commit e4ffe2e

Please sign in to comment.