Make internal linking only have store-relative links

This commit is contained in:
Matthias Beyer 2016-08-28 18:39:22 +02:00
parent 3e4b0e4bb8
commit 46bf387fc3

View file

@ -101,7 +101,7 @@ fn links_into_values(links: Vec<StoreId>) -> Vec<Result<Value>> {
links
.into_iter()
.unique()
.map(|s| s.to_str().map_err_into(LEK::InternalConversionError))
.map(|s| s.without_base().to_str().map_err_into(LEK::InternalConversionError))
.map(|elem| elem.map(Value::String))
.sorted_by(|a, b| {
match (a, b) {