Revert "Revert "Set href attribute of newly inserted image to image title""

This reverts commit e9ae4a94b4fe1e7663fa02a1ddb10b4bffa66292.

Change-Id: Icad3c2f5d3f0ddfba4bb0033011a3e5089fb5cd1
Merge "Revert "Revert "Set href attribute of newly inserted image to image title"""