From 9bc998c7a10979a3f1d769086de1ba7c49f7d9e3 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Sun, 19 Mar 2017 10:39:40 +0000 Subject: [PATCH] build(aio): use forked version of Rho rendering engine The original Rho is too strict when it comes to markdown headings. It requires that there be a blank line separating the heading and the next paragraph. The forked version here fixes that; but the Rho project will not merge it as it goes against there basic rules. --- aio/package.json | 2 +- aio/yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aio/package.json b/aio/package.json index 55d5795af8..1d445176cf 100644 --- a/aio/package.json +++ b/aio/package.json @@ -45,6 +45,7 @@ "@angular/router": "next", "@angular/service-worker": "^1.0.0-beta.7", "core-js": "^2.4.1", + "rho": "https://github.com/petebacondarwin/rho#heading-fix", "rxjs": "^5.1.0", "ts-helpers": "^1.1.1", "zone.js": "0.7.8" @@ -72,7 +73,6 @@ "karma-jasmine-html-reporter": "^0.2.2", "lodash": "^4.17.4", "protractor": "~5.1.0", - "rho": "^0.3.0", "shelljs": "^0.7.7", "ts-node": "~2.0.0", "tslint": "~4.4.2", diff --git a/aio/yarn.lock b/aio/yarn.lock index aa90719a29..d133d461a7 100644 --- a/aio/yarn.lock +++ b/aio/yarn.lock @@ -5353,9 +5353,9 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" -rho@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/rho/-/rho-0.3.0.tgz#a7ac95df240141936d1bf9d8f8e4880588c73dd3" +"rho@https://github.com/petebacondarwin/rho#heading-fix": + version "0.4.0" + resolved "https://github.com/petebacondarwin/rho#dcc9780a59d6bf6a62abe2fca4b08db6629da2ca" dependencies: html "*" nomnom "*"