pastvu icon indicating copy to clipboard operation
pastvu copied to clipboard

Invalid HTML code in the "source" field (and also in the description)

Open paul-k-pastvu opened this issue 5 years ago • 1 comments

An error appears in a certain sequence of actions: Invalid HTML code in the "source" field (and also in the description).

  1. See image https://pastvu.com/p/591487 in the edit mode: image

  2. When switching to this image by clicking to ann thumbnail in the top of right map, image we have seen next situation in the source field: image

Conditions of appears (for reproducing the situation):

  1. Photo in the "New" status
  2. URL was added in the first editing of file description. After second saving this bug not a reproducing

paul-k-pastvu avatar Feb 04 '20 17:02 paul-k-pastvu

Место, где эта строка генерируется: https://github.com/PastVu/pastvu/blob/cf30f6215f9d7ddcd0833362e0706a404ae14208/commons/Utils.js#L279

aeifn avatar Nov 30 '20 18:11 aeifn