projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
479f373
)
Better HTML.
author
Mike Taylor
<mike@indexdata.com>
Fri, 25 Apr 2014 16:56:48 +0000
(17:56 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Fri, 25 Apr 2014 16:56:48 +0000
(17:56 +0100)
examples/htdocs/mkws-widget-reference.js
patch
|
blob
|
history
diff --git
a/examples/htdocs/mkws-widget-reference.js
b/examples/htdocs/mkws-widget-reference.js
index
3fcb43e
..
78eaa5e
100644
(file)
--- a/
examples/htdocs/mkws-widget-reference.js
+++ b/
examples/htdocs/mkws-widget-reference.js
@@
-4,9
+4,7
@@
mkws.registerWidgetType('Reference', function() {
if (!this.config.template) this.config.template = 'Reference';
this.team.registerTemplate('Reference', '\
-<a href="{{md-electronic-url}}">\
- <h1>{{md-title}}</h1>\
-</a>\
+ <h1><a href="{{md-electronic-url}}">{{md-title}}</a></h1>\
{{#if md-title-remainder}}\
<b>{{md-title-remainder}}</b>\
{{/if}}\