Partial rewrite of buildUrlQueryParameters helper to support the preservation of query strings in the initial URL as well as the hash fragment.
The overrides feature now also has a way to control the escaping of a supplied param value.
Example usage:
Helpers.buildUrlQueryParameters('http://example.com?preservedQuery1=test#helloWorld', {
// characters will be escaped by helper
epub: 'some/path/to/epub',
// no escaping applied by helper for the following
goto: {
value: encodeURI('epubcfi(/6/2!4/2/2[text_assert])'),
verbatim: true
}
});
Partial rewrite of
buildUrlQueryParameters
helper to support the preservation of query strings in the initial URL as well as the hash fragment.The overrides feature now also has a way to control the escaping of a supplied param value.
Example usage:
Output: