// Both a layout tag and a dedicated inset seem too much effort for this.
string const hr_url_escape_chars = "\\#%";
if (contains(hr_url_escape_chars, c) && runparams.use_hyperref && il.latexname() == "url"
- && il.required().find("url") != il.required().end()) {
+ && il.requiresFeature("url")) {
os << "\\";
os.put(c);
return;