Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 763 - show editor in Geojson namespace #767

Prev Previous commit
fix space
thomas-topway-it authored Mar 26, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit e184507fd20e901dce9ddc44e6326161b602d56c
2 changes: 1 addition & 1 deletion src/GeoJsonPages/GeoJsonContentHandler.php
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ protected function fillParserOutput(
( GeoJsonMapPageUi::forExistingPage( GeoJsonContent::formatJson( $content->getData()->getValue() ) ) )
->addToOutput( OutputFacade::newFromParserOutput( $parserOutput ) );

if ( MapsFactory::globalInstance()->smwIntegrationIsEnabled() ) {
if ( MapsFactory::globalInstance()->smwIntegrationIsEnabled() ) {
// @FIXME alternatively decode $this->mText in GeoJsonLegacyContent
// to avoid decoding it again in SubObjectBuilder -> getSubObjectsFromGeoJson
$text = json_encode( $content->getData()->getValue() );