SYMPTOM:
The HTML tag form of an attribute when used to define a metric as Max(AttributeName) is rendered as text instead of a link. When the attribute is used directly in the report, then the link is generated as expected.
STEPS TO REPRODUCE:
Execute the following in Strategy Tutorial:

CAUSE:
The User Input Filtering setting is not enabled properly.
ACTION:
Check "Metric values" under Administrator Page > Security > User Input Filtering.

After this, execute the same report and notice that the hyperlink is now rendered as expected:
