fixes #36
This commit is contained in:
Joao Moreno 2015-11-18 16:42:51 +01:00
parent 7a1fa7a51c
commit a6330b7966
3 changed files with 3 additions and 3 deletions

View file

@ -178,7 +178,7 @@ export class ReadmeProcessor extends BaseProcessor {
const repositoryName = match[2].replace(/\.git$/i, '');
return {
content: `https://github.com/${ account }/${ repositoryName }`,
content: `https://github.com/${ account }/${ repositoryName }/blob/master`,
images: `https://github.com/${ account }/${ repositoryName }/raw/master`
};
}

View file

@ -26,7 +26,7 @@ The `spellMD.json` config file is watched so you can add more ignores or change
![issue](https://github.com/username/repository/raw/master/issue)
[mono](https://github.com/username/repository/monkey)
[mono](https://github.com/username/repository/blob/master/monkey)
[not](http://shouldnottouchthis/)
# Install

View file

@ -430,7 +430,7 @@ describe('ReadmeProcessor', () => {
const root = fixture('readme');
const processor = new ReadmeProcessor(manifest, {
baseContentUrl: 'https://github.com/username/repository',
baseContentUrl: 'https://github.com/username/repository/blob/master',
baseImagesUrl: 'https://github.com/username/repository/raw/master'
});
const readme = {