improve link inclusion processing, prevent endless recursion, split up long method
bump version: v0.1.3