René's URL Explorer Experiment


Title: 'Uncaught Syntax error, unrecognized expression:' with jQueryMustache.js when template output is empty · Issue #1 · thinkdevcode/jQuery-Mustache · GitHub

Open Graph Title: 'Uncaught Syntax error, unrecognized expression:' with jQueryMustache.js when template output is empty · Issue #1 · thinkdevcode/jQuery-Mustache

X Title: 'Uncaught Syntax error, unrecognized expression:' with jQueryMustache.js when template output is empty · Issue #1 · thinkdevcode/jQuery-Mustache

Description: When the output of a jQuery template is empty, executing 'mustache' function raises Uncaught Syntax error, unrecognized expression. Here's a test script to reproduce the error :

Open Graph Description: When the output of a jQuery template is empty, executing 'mustache' function raises Uncaught Syntax error, unrecognized expression. Here's a test script to reproduce the error :

X Description: When the output of a jQuery template is empty, executing 'mustache' function raises Uncaught Syntax error, unrecognized expression. Here's a test script to reproduce the error : <!DO...

Opengraph URL: https://github.com/thinkdevcode/jQuery-Mustache/issues/1

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"'Uncaught Syntax error, unrecognized expression:' with jQueryMustache.js when template output is empty","articleBody":"When the output of a jQuery template is empty, executing 'mustache' function raises Uncaught Syntax error, unrecognized expression.\n\nHere's a test script to reproduce the error :\n\n```\n\u003c!DOCTYPE html>\n\u003chtml>\n\u003chead>\n    \u003cmeta charset=\"utf-8\" />\n    \u003cmeta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\n    \u003ctitle>\u003c/title>\n    \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> \n    \u003cscript type=\"text/javascript\" src=\"jquery-1.6.2.min.js\">\u003c/script>\n    \u003cscript type=\"text/javascript\" src=\"mustache.js\">\u003c/script>\n    \u003cscript type=\"text/javascript\" src=\"jQueryMustache.js\">\u003c/script>\n    \u003cscript type=\"text/javascript\">\n    $(function() {\n        var emptyData = {\"clients\": []}; //-> KO\n        var testData = {\"clients\": [\n                 {\n                  \"personne\": {\n                      \"nom\": \"THOMAS\",\n                      \"adresseResidence\": {\n                          \"codePostaln\": \"12000\",\n                          \"rue\": \"7, Avenue du Maréchal Foch\",\n                          \"villen\": \"Arpajon-sur-Cère\",\n                          \"codePostal\": \"12000\",\n                          \"ville\": \"Arpajon-sur-Cère\",\n                          \"id\": 1,\n                          \"version\": null\n                      },\n                      \"dateNaissance\": \"1975-05-16\",\n                      \"matricule\": \"00000000\",\n                      \"prenom\": \"Olivier\",\n                      \"deuxiemePrenom\": \"Pierre\",\n                      \"nomMarital\": null,\n                      \"numeroSecuriteSociale\": \"176081501409491\",\n                      \"id\": 1,\n                      \"version\": null\n                  },\n                  \"dateContact\": 1314605754000,\n                  \"rib\": \"000\",\n                  \"id\": 1\n              } ]\n          };\n        $('#clientsList').html($('#templateClients').mustache(emptyData));\n    });\n    \u003c/script>\n\u003c/head>\n\u003cbody>\n \u003cscript id=\"templateClients\" type=\"x-tmpl-mustache\">\n        {{#clients}}\n            \u003cli>\n                \u003ca href=\"${ctx}/clients/{{id}}\" class=\"ui-commandlink\">{{#personne}}{{nom}}{{/personne}} {{#personne}}{{prenom}}{{/personne}}\u003c/a>\n            \u003c/li>\n        {{/clients}}\n\u003c/script>\n    \u003cul id=\"clientsList\">\n        \u003cli>\n        \u003c/li>\n    \u003c/ul>\n\u003c/body>\n\u003c/html>\n```\n\nTo resolve this issue, change follogin line in jQueryMustache.js :\n\n```\nreturn $(Mustache.to_html(this.text(), data, partial, stream));\n```\n\nwith :\n\n```\nreturn Mustache.to_html(this.text(), data, partial, stream);\n```\n","author":{"url":"https://github.com/gonzalad","@type":"Person","name":"gonzalad"},"datePublished":"2011-08-31T14:20:02Z","url":"https://github.com/thinkdevcode/jQuery-Mustache/issues/1"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0739b8e4-3883-0a81-2455-9be584ffa31e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD6C6:A71F9:3312A47:40A6E52:6B020BF0
html-safe-noncef43c8204573cc91ae12c19f31b3fb30bb713f90f4335c6700b78920d37f1ba19
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkM2OkE3MUY5OjMzMTJBNDc6NDBBNkU1Mjo2QjAyMEJGMCIsInZpc2l0b3JfaWQiOiI0NTE0NjczOTUzMjMwNDI1MDcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac44e9ec942089c07a25ec5f6f1dc6a28795e21fb27f4e92116ae02b79dfb2b828
hovercard-subject-tagissue:1532439
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/thinkdevcode/jQuery-Mustache/1/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f6ce74ef62584f4ebfeba1636209cdc4f5248ac870f6437559e4f12284af999f/thinkdevcode/jQuery-Mustache/issues/1
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f6ce74ef62584f4ebfeba1636209cdc4f5248ac870f6437559e4f12284af999f/thinkdevcode/jQuery-Mustache/issues/1
og:image:altWhen the output of a jQuery template is empty, executing 'mustache' function raises Uncaught Syntax error, unrecognized expression. Here's a test script to reproduce the error :
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegonzalad
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/thinkdevcode/jQuery-Mustache git https://github.com/thinkdevcode/jQuery-Mustache.git
octolytics-dimension-user_id562854
octolytics-dimension-user_loginthinkdevcode
octolytics-dimension-repository_id1380187
octolytics-dimension-repository_nwothinkdevcode/jQuery-Mustache
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1380187
octolytics-dimension-repository_network_root_nwothinkdevcode/jQuery-Mustache
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/thinkdevcode/jQuery-Mustache/issues/1#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fthinkdevcode%2FjQuery-Mustache%2Fissues%2F1
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fthinkdevcode%2FjQuery-Mustache%2Fissues%2F1
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=thinkdevcode%2FjQuery-Mustache
Reloadhttps://github.com/thinkdevcode/jQuery-Mustache/issues/1
Reloadhttps://github.com/thinkdevcode/jQuery-Mustache/issues/1
Reloadhttps://github.com/thinkdevcode/jQuery-Mustache/issues/1
thinkdevcodehttps://github.com/thinkdevcode
jQuery-Mustachehttps://github.com/thinkdevcode/jQuery-Mustache
Codehttps://github.com/thinkdevcode/jQuery-Mustache
Issues1 (1)https://github.com/thinkdevcode/jQuery-Mustache/issues
Pull requestshttps://github.com/thinkdevcode/jQuery-Mustache/pulls
Actionshttps://github.com/thinkdevcode/jQuery-Mustache/actions
Projectshttps://github.com/thinkdevcode/jQuery-Mustache/projects
Security and qualityhttps://github.com/thinkdevcode/jQuery-Mustache/security
Insightshttps://github.com/thinkdevcode/jQuery-Mustache/pulse
https://github.com/thinkdevcode/jQuery-Mustache
New issuehttps://github.com/login?return_to=https://github.com/thinkdevcode/jQuery-Mustache/issues/1
New issuehttps://github.com/login?return_to=https://github.com/thinkdevcode/jQuery-Mustache/issues/1
'Uncaught Syntax error, unrecognized expression:' with jQueryMustache.js when template output is emptyhttps://github.com/thinkdevcode/jQuery-Mustache/issues/1#top
https://github.com/gonzalad
gonzaladhttps://github.com/gonzalad
on Aug 31, 2011https://github.com/thinkdevcode/jQuery-Mustache/issues/1#issue-1532439
https://github.com/thinkdevcode
thinkdevcodehttps://github.com/thinkdevcode
on Sep 13, 2011https://github.com/thinkdevcode/jQuery-Mustache/issues/1#issuecomment-2078080
Sign up for freehttps://github.com/signup?return_to=https://github.com/thinkdevcode/jQuery-Mustache/issues/1
Sign in to commenthttps://github.com/login?return_to=https://github.com/thinkdevcode/jQuery-Mustache/issues/1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.