Ich habe diesen Link eingefügt: https://www.google.com/maps/d/embed?mid=za0Bx0koO4sk.kHCbG4TApEP4
Auf einer einzigen Zeile in meinen beiden Discourse-Foren.
Es funktioniert in einem meiner Foren, und hier ist der generierte Code:
<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>
In dem Forum, in dem es nicht funktioniert, sieht der generierte Code so aus:
<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>
Beachten Sie, dass das iframe im Forum, in dem es nicht funktioniert, ein Attribut data-unsanitized-src enthält.
Beide Foren verwenden Version 2.6.0.beta3 ( b8015ab654 ).
Ich kann das Problem auch auf try.discourse.org reproduzieren:
https://try.discourse.org/t/try-gmap-embed-stuff/1499
Beachten Sie, dass das generierte iframe ebenfalls ein Attribut data-unsanitized-src enthält.