Fix #1949 "fr:xforms-inspector causes PDF template error"

- also indent for clarity