fixed gallery links parsing
fixed gallery links parsing