FacilMap / facilmap

FacilMap is a privacy-friendly, open-source versatile online map that combines different services based on OpenStreetMap and makes it easy to find places, plan trips and add markers, lines and routes to custom maps with live collaboration.
https://facilmap.org/
GNU Affero General Public License v3.0
321 stars 21 forks source link

Export as table error #153

Closed jpburelle closed 3 years ago

jpburelle commented 3 years ago

When exporting my facilmap as Table I get the following error page:

TypeError: ejs:54 52| for(let field of type.fields) { 53| if(!hide.includes(field.name)) {

54| -%> <%-utils.formatField(field, object.data[field.name]).trim()%> <% 55| } 56| } 57| -%> <%

dom_1.$ is not a function at applyMarkdownModifications (/opt/facilmap/utils/dist/format.js:61:11) at markdownBlock (/opt/facilmap/utils/dist/format.js:35:5) at Object.formatField (/opt/facilmap/utils/dist/format.js:21:20) at eval (eval at compile (/opt/facilmap/node_modules/ejs/lib/ejs.js:662:12), :142:22) at anonymous (/opt/facilmap/node_modules/ejs/lib/ejs.js:692:17) at Object.exports.render (/opt/facilmap/node_modules/ejs/lib/ejs.js:423:37) at /opt/facilmap/server/dist/export/table.js:65:30 at async /opt/facilmap/server/dist/webserver.js:93:35

cdauth commented 3 years ago

Thanks for reporting! This should be fixed now.