Allow "cover" in tpb13, properly handle nested languages for img, replace table border attribute with CSS