Fix inline if statement causing anchor details to be ignored
Merge pull request #311 from excid3/master

marker_anchor options are ignored