Odd block deltas will invalidate comments that end blocks

CrookedNumber - November 13, 2008 - 20:08
Project:Hunchbaque
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I think adding

<!-- /#block-<?php print $block->module .'-'. $block->delta; ?> -->

at the end of blocks is a great idea. However, a module like Views can create deltas like -exp-View Name-block_1 When this goes through hunchbaque's block.tpl.php file, it creates consecutive dashes (--) inside a comment, which can really mess up your page.

And/or should I be filing this at the Views project page?

 
 

Drupal is a registered trademark of Dries Buytaert.