Add the olive oil and onion to a medium saucepan over medium-high heat and sauté for 5 minutes.
Stir in the garlic and cook for 30 seconds.
Add in the wine, crushed tomatoes, oregano, red pepper flakes, and give it a good stir. Gently add the whole sprigs of basil in. Reduce the heat (to low or medium-low) and simmer gently, uncovered, for about 20 minutes, stirring occasionally.
Meanwhile, boil a large, salted pot of water for the gnocchi, and prepare the gnocchi according to the package directions.
Give the marinara sauce a taste, remove the basil sprigs, and season with plenty of salt & pepper as needed. If you prefer the sauce to be a little sweeter, you can stir in a pinch of sugar. Serve the gnocchi with the marinara sauce spooned over top. Optional: serve with extra basil and freshly grated parmesan cheese.