test input with links and images