다음 링크를 붙여넣었습니다: https://www.google.com/maps/d/embed?mid=za0Bx0koO4sk.kHCbG4TApEP4
두 개의 Discourse 포럼에서 각각 한 줄로 작성했습니다.
한 포럼에서는 정상적으로 작동하며, 여기서 생성된(cooked) 코드는 다음과 같습니다:
<div class="maps-onebox">
<iframe src="https://www.google.com/maps/d/embed?mid=13xLbRXoFU-UIUoTiOwJdvLzkoUw" width="690" height="400" frameborder="0" style="border:0" seamless="seamless" sandbox="allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation"></iframe>
</div>
작동하지 않는 포럼에서 생성된(cooked) 코드는 다음과 같습니다:
<div class="maps-onebox">
<iframe width="690" height="400" frameborder="0" style="border:0" data-unsanitized-src="https://www.google.com/maps/d/embed?mid=za0Bx0koO4sk.kHCbG4TApEP4" seamless="seamless" sandbox="allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation"></iframe>
</div>
작동하지 않는 포럼의 iframe에 data-unsanitized-src 속성이 있다는 점에 유의하세요.
두 포럼 모두 2.6.0.beta3 (b8015ab654 ) 버전을 사용하고 있습니다.
try.discourse.org에서도 재현할 수 있습니다:
https://try.discourse.org/t/try-gmap-embed-stuff/1499
생성된 iframe에도 data-unsanitized-src 속성이 있다는 점에 유의하세요.