Fix magic_line to look for <a> instead of <figure>