Does it worth commiting ? (not sur this is a good
practise to
encapsulate an heading in an anchor)
Yes, please commit this change. I want that feature as well.
PBHtmlView>>renderPost: aPost on: html
html div
class: 'post';
with: [
html anchor name: aPost uuid.
html anchor
goto: (self context structure: aPost);
with: [ html heading
level: 1;
with: aPost title].
self render: aPost on: html.
self renderMeta: aPost on: html ]
Better put the anchor inside the heading, otherwise the XHTML is
invalid (heading is a block element, anchor is an inline element).
Cheers,
Lukas
On Jul 23, 2008, at 10:23 , cdrick wrote:
I couldn't find a built-in option... except by
clicking on comment(s)
which is not obvious to me, so I did that...
Cédrick
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
--
Lukas Renggli
http://www.lukas-renggli.ch