custom link should be created with createLink instead of link

In the "Customizing Link Rendering" section of "HAL Support", the example code doesn't produce the resulting output shown below.