Accept external url in summary

This commit is contained in:
Samy Pessé
2016-02-18 15:23:01 +01:00
parent b99c499d2e
commit 1a3ee78459
-3
View File
@@ -22,9 +22,6 @@ function TOCArticle(def, parent) {
// ex: '1.0.0'
this.level = def.level;
if (def.path && location.isExternal(def.path)) {
throw error.ParsingError(new Error('SUMMARY can only contains relative locations'));
}
if (!def.title) {
throw error.ParsingError(new Error('SUMMARY entries should have an non-empty title'));
}